PlayerEvent enum

a Player Statuses enum

Inheritance

Constructors

PlayerEvent()
const

Values

load → const PlayerEvent

on load.

create → const PlayerEvent

on created.

init → const PlayerEvent

on initialized.

start → const PlayerEvent

on started.

restart → const PlayerEvent

on restarted.

play → const PlayerEvent

on playing.

replay → const PlayerEvent

on replay.

pause → const PlayerEvent

on paused.

toggle → const PlayerEvent

on toggle.

stop → const PlayerEvent

on stopped.

volume → const PlayerEvent

on volume changed.

speed → const PlayerEvent

on speed changed.

status → const PlayerEvent

on status changed.

position → const PlayerEvent

on position changed.

duration → const PlayerEvent

on position changed, just in case idk

dispose → const PlayerEvent

on dispose.

end → const PlayerEvent

on ended.

loop → const PlayerEvent

on loop status changes.

unknown → const PlayerEvent

unknown event. if you get this, probably something wrong

autoPlay → const PlayerEvent

auto play event.

buffering → const PlayerEvent

on buffering.

once → const PlayerEvent

once changed.

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