TimebasedState enum

Playback state for a timebased (audio or TTS) navigator.

Inheritance
Available extensions

Values

none → const TimebasedState

No active navigator or state is unknown.

playing → const TimebasedState

The player is currently playing - equivalent to kotlin-toolkit Ready + playWhenReady = true

loading → const TimebasedState

The player is currently loading/buffering.

paused → const TimebasedState

Playback is paused - equivalent to kotlin-toolkit Ready + playWhenReady = false

ended → const TimebasedState

The player has reached the end of the publication.

failure → const TimebasedState

The player is in a failure state.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
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 state) → TimebasedState
Returns the TimebasedState matching state (case-insensitive), defaulting to none.

Constants

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