AVAudioSession class
If you test any feature listed as UNTESTED, consider sharing whether it works on GitHub.
Constructors
- AVAudioSession()
-
factory
Properties
-
allowHapticsAndSystemSoundsDuringRecording
→ Future<
bool> -
(UNTESTED)
no setter
-
availableCategories
→ Future<
List< AVAudioSessionCategory> > -
(UNTESTED)
no setter
-
availableInputs
→ Future<
Set< AVAudioSessionPortDescription> > -
no setter
-
availableModes
→ Future<
List< AVAudioSessionMode> > -
(UNTESTED)
no setter
-
category
→ Future<
AVAudioSessionCategory> -
(UNTESTED)
no setter
-
categoryOptions
→ Future<
AVAudioSessionCategoryOptions> -
(UNTESTED)
no setter
-
currentRoute
→ Future<
AVAudioSessionRouteDescription> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
inputLatency
→ Future<
Duration> -
(UNTESTED)
no setter
-
interruptionNotificationStream
→ Stream<
AVAudioSessionInterruptionNotification> -
no setter
-
isOtherAudioPlaying
→ Future<
bool> -
no setter
-
mediaServicesWereLostStream
→ Stream<
void> -
(UNTESTED)
no setter
-
mediaServicesWereResetStream
→ Stream<
void> -
(UNTESTED)
no setter
-
mode
→ Future<
AVAudioSessionMode> -
(UNTESTED)
no setter
-
outputLatency
→ Future<
Duration> -
(UNTESTED)
no setter
-
promptStyle
→ Future<
AVAudioSessionPromptStyle?> -
(UNTESTED)
no setter
-
recordPermission
→ Future<
AVAudioSessionRecordPermission> -
(UNTESTED)
no setter
-
routeChangeStream
→ Stream<
AVAudioSessionRouteChange> -
no setter
-
routeSharingPolicy
→ Future<
AVAudioSessionRouteSharingPolicy?> -
(UNTESTED)
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
secondaryAudioShouldBeSilencedHint
→ Future<
bool> -
no setter
-
silenceSecondaryAudioHintStream
→ Stream<
AVAudioSessionSilenceSecondaryAudioHintType> -
(UNTESTED)
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent 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