AndroidAudioSessionConfiguration class

Experimental: this API may change in a future release.

Annotations

Constructors

AndroidAudioSessionConfiguration({AndroidAudioMode? audioMode, bool? manageAudioFocus, AndroidAudioFocusMode? focusMode, AndroidAudioStreamType? streamType, AndroidAudioAttributesUsageType? usageType, AndroidAudioAttributesContentType? contentType, bool? forceAudioRouting})
const

Properties

audioMode → AndroidAudioMode?
Android AudioManager mode.
final
contentType → AndroidAudioAttributesContentType?
Android AudioAttributes content type.
final
focusMode → AndroidAudioFocusMode?
Requested Android audio focus gain type.
final
forceAudioRouting → bool?
Forces LiveKit audio routing even outside communication/call modes.
final
hashCode → int
The hash code for this object.
no setterinherited
manageAudioFocus → bool?
Whether LiveKit should manage Android audio focus.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
streamType → AndroidAudioStreamType?
Legacy Android stream type.
final
usageType → AndroidAudioAttributesUsageType?
Android AudioAttributes usage.
final

Methods

copyWith({ValueOrAbsent<AndroidAudioMode?> audioMode = const ValueOrAbsent.absent(), ValueOrAbsent<bool?> manageAudioFocus = const ValueOrAbsent.absent(), ValueOrAbsent<AndroidAudioFocusMode?> focusMode = const ValueOrAbsent.absent(), ValueOrAbsent<AndroidAudioStreamType?> streamType = const ValueOrAbsent.absent(), ValueOrAbsent<AndroidAudioAttributesUsageType?> usageType = const ValueOrAbsent.absent(), ValueOrAbsent<AndroidAudioAttributesContentType?> contentType = const ValueOrAbsent.absent(), ValueOrAbsent<bool?> forceAudioRouting = const ValueOrAbsent.absent()}) → AndroidAudioSessionConfiguration
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

communication → const AndroidAudioSessionConfiguration
media → const AndroidAudioSessionConfiguration