IMediaPlayerState interface
Most recent state of the media session.
Properties
metadata | Metadata for the sessions current track. |
playback |
Sessions current playback state. |
position |
Sessions current position state if known. |
track |
Optional track data object being synchronized. |
Property Details
metadata
Metadata for the sessions current track.
metadata: null | ExtendedMediaMetadata
Property Value
null | ExtendedMediaMetadata
playbackState
Sessions current playback state.
playbackState: ExtendedMediaSessionPlaybackState
Property Value
positionState
Sessions current position state if known.
positionState?: MediaPositionState
Property Value
MediaPositionState
trackData
Optional track data object being synchronized.
trackData: null | object
Property Value
null | object
Remarks
This can be used to sync things like pitch, roll, and yaw when watching 360 videos together.