AVAudioSessionOptions enum

This is a Dart representation of the equivalent enum on Swift.

Constants that specify optional audio behaviors. Each option is valid only for specific audio session categories.

Inheritance

Constructors

AVAudioSessionOptions()
const

Values

mixWithOthers → const AVAudioSessionOptions

An option that indicates whether audio from this session mixes with audio from active sessions in other audio apps.

duckOthers → const AVAudioSessionOptions

An option that reduces the volume of other audio sessions while audio from this session plays.

interruptSpokenAudioAndMixWithOthers → const AVAudioSessionOptions

An option that determines whether to pause spoken audio content from other sessions when your app plays its audio.

allowBluetooth → const AVAudioSessionOptions

An option that determines whether Bluetooth hands-free devices appear as available input routes.

allowBluetoothA2DP → const AVAudioSessionOptions

An option that determines whether you can stream audio from this session to Bluetooth devices that support the Advanced Audio Distribution Profile (A2DP).

allowAirPlay → const AVAudioSessionOptions

An option that determines whether you can stream audio from this session to AirPlay devices.

defaultToSpeaker → const AVAudioSessionOptions

An option that determines whether audio from the session defaults to the built-in speaker instead of the receiver.

overrideMutedMicrophoneInterruption → const AVAudioSessionOptions

An option that indicates whether the system interrupts the audio session when it mutes the built-in microphone.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Constants

values → const List<AVAudioSessionOptions>
A constant List of the values in this enum, in order of their declaration.