Inheritance
Annotations
  • DocsEditable()
  • DomName('MediaController')
  • Experimental()

Static Properties

instanceRuntimeType Type

read-only

Constructors

MediaController()

factory
MediaController.internal_()

Properties

buffered TimeRanges

read-only
currentTime num

read / write
defaultPlaybackRate num

read / write
duration num

read-only
hashCode int

read-only, inherited
muted bool

read / write
on Events

This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.

read-only, inherited
paused bool

read-only
playbackRate num

read / write
playbackState String

read-only
played TimeRanges

read-only
runtimeType Type

A representation of the runtime type of the object.

read-only, inherited
seekable TimeRanges

read-only
volume num

read / write

Operators

operator ==(other) bool

The equality operator.

inherited

Methods

addEventListener(String type, EventListener listener(Event event), [bool useCapture]) → void

inherited
dispatchEvent(Event event) bool

inherited
noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
pause() → void

play() → void

removeEventListener(String type, EventListener listener(Event event), [bool useCapture]) → void

inherited
toString() String

Returns the result of the JavaScript objects toString method.

inherited
unpause() → void