AudioContextAndroid class

Constructors

AudioContextAndroid({bool isSpeakerphoneOn = true, bool stayAwake = true, AndroidContentType contentType = AndroidContentType.music, AndroidUsageType usageType = AndroidUsageType.media, AndroidAudioFocus? audioFocus = AndroidAudioFocus.gain})
const

Properties

audioFocus → AndroidAudioFocus?
final
contentType → AndroidContentType
final
hashCode → int
The hash code for this object.
no setterinherited
isSpeakerphoneOn → bool
audioManager.isSpeakerphoneOn
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stayAwake → bool
final
usageType → AndroidUsageType
final

Methods

copy({bool? isSpeakerphoneOn, bool? stayAwake, AndroidContentType? contentType, AndroidUsageType? usageType, AndroidAudioFocus? audioFocus}) → AudioContextAndroid
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited