PlayerState enum

Current state of the player.

Find more about it here.

Inheritance

Constructors

PlayerState()
const

Values

unknown → const PlayerState

Denotes State when player is not loaded with video.

unStarted → const PlayerState

Denotes state when player loads first video.

ended → const PlayerState

Denotes state when player has ended playing a video.

playing → const PlayerState

Denotes state when player is playing video.

paused → const PlayerState

Denotes state when player is paused.

buffering → const PlayerState

Denotes state when player is buffering bytes from the internet.

cued → const PlayerState

Denotes state when player loads video and is ready to be played.

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<PlayerState>
A constant List of the values in this enum, in order of their declaration.