AndroidAudioOptions class
Android-specific audio options for the audio route picker.
These options only apply to the Android platform. iOS does not require options as it uses the system's native AVRoutePickerView which handles device filtering automatically.
- Annotations
Constructors
- AndroidAudioOptions({AndroidAudioDeviceFilter filter = AndroidAudioDeviceFilter.communication})
-
Creates Android-specific audio options.
const
- AndroidAudioOptions.all()
-
Creates options to show all available output devices.
const
- AndroidAudioOptions.communication()
-
Creates options for communication/VoIP apps (default).
const
- AndroidAudioOptions.media()
-
Creates options for media playback apps.
const
Properties
- filter → AndroidAudioDeviceFilter
-
The device filter to apply when showing available audio devices.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- 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
-
toMap(
) → Map< String, dynamic> - Converts to a map for method channel communication.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override