MediaSessioninterface MediaSession {metadata: MediaMetadata | null;playbackState: MediaSessionPlaybackState;setActionHandler(action: MediaSessionAction, handler: MediaSessionActionHandler | null): void;setPositionState(state?: MediaPositionState): void;}var MediaSession: {prototype: MediaSession; new (): MediaSession; };§Properties§metadata: MediaMetadata | null[src]§playbackState: MediaSessionPlaybackState[src]§Methods§setActionHandler(action: MediaSessionAction, handler: MediaSessionActionHandler | null): void[src]§setPositionState(state?: MediaPositionState): void[src]