MediaSession class

Annotations
  • @DocsEditable()
  • @DomName('MediaSession')
  • @Experimental()
  • @Native("MediaSession")

Properties

metadata MediaMetadata
@DocsEditable(), @DomName('MediaSession.metadata'), @Experimental(), read / write
playbackState String
@DocsEditable(), @DomName('MediaSession.playbackState'), @Experimental(), read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

setActionHandler(String action, MediaSessionActionHandler handler) → void
@DocsEditable(), @DomName('MediaSession.setActionHandler'), @Experimental()
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited