StreamType enum

The type of the audio stream. Different streams may have distinct audio settings (e.g. volume level) within the system

All sounds for particular Soundpool would be played using the selected stream

Inheritance

Constructors

StreamType()
const

Values

ring → const StreamType

Audio stream for the phone ring

alarm → const StreamType

Audio stream for alarms

music → const StreamType

Audio stream for music playbacks

notification → const StreamType

Audio stream for notifications

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

values → const List<StreamType>
A constant List of the values in this enum, in order of their declaration.