AVAudioSession class Null safety

If you test any feature listed as UNTESTED, consider sharing whether it works on GitHub.

Constructors

AVAudioSession()
factory

Properties

allowHapticsAndSystemSoundsDuringRecording Future<bool>
(UNTESTED)
read-only
availableCategories Future<List<AVAudioSessionCategory>>
(UNTESTED)
read-only
availableInputs Future<Set<AVAudioSessionPortDescription>>
read-only
availableModes Future<List<AVAudioSessionMode>>
(UNTESTED)
read-only
category Future<AVAudioSessionCategory>
(UNTESTED)
read-only
categoryOptions Future<AVAudioSessionCategoryOptions>
(UNTESTED)
read-only
currentRoute Future<AVAudioSessionRouteDescription>
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
inputLatency Future<Duration>
(UNTESTED)
read-only
interruptionNotificationStream Stream<AVAudioSessionInterruptionNotification>
read-only
isOtherAudioPlaying Future<bool>
(UNTESTED)
read-only
mediaServicesWereLostStream Stream<void>
(UNTESTED)
read-only
mediaServicesWereResetStream Stream<void>
(UNTESTED)
read-only
mode Future<AVAudioSessionMode>
(UNTESTED)
read-only
outputLatency Future<Duration>
(UNTESTED)
read-only
promptStyle Future<AVAudioSessionPromptStyle?>
(UNTESTED)
read-only
recordPermission Future<AVAudioSessionRecordPermission>
(UNTESTED)
read-only
routeChangeStream Stream<AVAudioSessionRouteChange>
read-only
routeSharingPolicy Future<AVAudioSessionRouteSharingPolicy?>
(UNTESTED)
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
secondaryAudioShouldBeSilencedHint Future<bool>
(UNTESTED)
read-only
silenceSecondaryAudioHintStream Stream<AVAudioSessionSilenceSecondaryAudioHintType>
(UNTESTED)
read-only

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
overrideOutputAudioPort(AVAudioSessionPortOverride portOverride) Future<void>
(UNTESTED)
requestRecordPermission() Future<bool>
(UNTESTED)
setActive(bool active, {AVAudioSessionSetActiveOptions? avOptions}) Future<bool>
setAllowHapticsAndSystemSoundsDuringRecording(bool allow) Future<void>
(UNTESTED)
setCategory(AVAudioSessionCategory? category, [AVAudioSessionCategoryOptions? options, AVAudioSessionMode? mode, AVAudioSessionRouteSharingPolicy? policy]) Future<void>
setMode(AVAudioSessionMode mode) Future<void>
(UNTESTED)
setPreferredInput(AVAudioSessionPortDescription input) Future<void>
(UNTESTED)
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited