MediaPlayerState enum

Player states.

Inheritance
Available extensions
Annotations
  • @JsonEnum.new(alwaysCreate: true)

Values

playerStateIdle → const MediaPlayerState

0: Default state. Returned before opening a media file and after playback ends.

playerStateOpening → const MediaPlayerState

1: Opening media file.

playerStateOpenCompleted → const MediaPlayerState

2: Media file opened successfully.

playerStatePlaying → const MediaPlayerState

3: Playing.

playerStatePaused → const MediaPlayerState

4: Playback paused.

playerStatePlaybackCompleted → const MediaPlayerState

5: Playback completed.

playerStatePlaybackAllLoopsCompleted → const MediaPlayerState

6: Loop playback ended.

playerStateStopped → const MediaPlayerState

7: Playback stopped.

playerStatePausingInternal → const MediaPlayerState

@nodoc

playerStateStoppingInternal → const MediaPlayerState

@nodoc

playerStateSeekingInternal → const MediaPlayerState

@nodoc

playerStateGettingInternal → const MediaPlayerState

@nodoc

playerStateNoneInternal → const MediaPlayerState

@nodoc

playerStateDoNothingInternal → const MediaPlayerState

@nodoc

playerStateSetTrackInternal → const MediaPlayerState

@nodoc

playerStateFailed → const MediaPlayerState

100: Playback failed.

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

Constants

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