MediaController class
Constructors
- MediaController({HTMLMediaElement? media})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- media ↔ HTMLMediaElement?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → MediaState
-
no setter
Methods
-
mute(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onEnded(
void callback(Event)) → void -
onPause(
void callback(Event)) → void -
onPlay(
void callback(Event)) → void -
onTimeUpdate(
void callback(Event)) → void -
pause(
) → void -
play(
) → void -
seekTo(
double time) → void -
setPlaybackRate(
double rate) → void -
setVolume(
double volume) → void -
stop(
) → void -
toggle(
) → void -
toggleMute(
) → void -
toString(
) → String -
A string representation of this object.
inherited
-
unmute(
) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
of(
Component media) → MediaController?