AudioSessionOptions class
- Annotations
Constructors
- AudioSessionOptions.communication({AppleAudioSessionConfiguration apple = AppleAudioSessionConfiguration.communication, AndroidAudioSessionConfiguration android = AndroidAudioSessionConfiguration.communication})
-
Two-way audio preset for calls, rooms, and microphone capture.
const
- AudioSessionOptions.mediaPlayback({AppleAudioSessionConfiguration apple = AppleAudioSessionConfiguration.media, AndroidAudioSessionConfiguration android = AndroidAudioSessionConfiguration.media})
-
One-way media playback preset.
const
Properties
- android → AndroidAudioSessionConfiguration
-
Exact Android session configuration for manual mode.
final
- apple → AppleAudioSessionConfiguration
-
Exact Apple session configuration for manual mode.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{ValueOrAbsent< AppleAudioSessionConfiguration> apple = const ValueOrAbsent.absent(), ValueOrAbsent<AndroidAudioSessionConfiguration> android = const ValueOrAbsent.absent()}) → AudioSessionOptions - Returns a copy with selected fields replaced.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited