IosAudioCategory enum
Represents audio playback category on iOS.
An 'ambient' category should be used for tasks like game audio, whereas the playback category should be used for tasks like music player playback.
Note that for background audio to work, the playback category must be
used, and the shouldPlayWhileAppPaused
flag must also be set.
See https://developer.apple.com/documentation/avfoundation/avaudiosessioncategory for more information.
Values
- ambientSolo → const IosAudioCategory
-
Audio is silenced by screen lock and the silent switch; audio will not mix with other apps' audio.
- ambientMixed → const IosAudioCategory
-
Audio is silenced by screen lock and the silent switch; audio will mix with other apps' (mixable) audio.
- playback → const IosAudioCategory
-
Audio is not silenced by screen lock or silent switch; audio will not mix with other apps' audio.
The default value.
Properties
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<
IosAudioCategory> - A constant List of the values in this enum, in order of their declaration.