AndroidAudioAttributes class

Describes to the Android platform what kind of audio you intend to play.

Constructors

AndroidAudioAttributes({AndroidAudioContentType contentType = AndroidAudioContentType.unknown, AndroidAudioFlags flags = AndroidAudioFlags.none, AndroidAudioUsage usage = AndroidAudioUsage.unknown})
const
AndroidAudioAttributes.fromJson(Map<String, dynamic> data)

Properties

contentType AndroidAudioContentType
What type of audio you intend to play.
final
flags AndroidAudioFlags
How the playback is to be affected.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
usage AndroidAudioUsage
Why you intend to play the audio.
final

Methods

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.
override