PlaybackState enum

Represents the playback state of the radio player.

Inheritance
Available extensions

Values

playing → const PlaybackState

The player is actively playing audio.

paused → const PlaybackState

The player is paused.

buffering → const PlaybackState

The player is buffering data.

unknown → const PlaybackState

The player is in an unknown state or an error state.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
isBuffering bool
no setter
isPaused bool
no setter
isPlaying bool
no setter
isUnknown bool
no setter
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

Static Methods

fromString(String? nativeState) PlaybackState

Constants

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