AndroidAudioAttributes class Null safety

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 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. [...]
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
usage AndroidAudioUsage
Why you intend to play the audio.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map
toString() String
A string representation of this object. [...]
inherited

Operators

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