import { type MediaSession } from "https://deno.land/x/yxz@0.32.0/typing/lib.dom.ts";
Properties
metadata: MediaMetadata | null
playbackState: MediaSessionPlaybackState
Methods
setActionHandler(action: MediaSessionAction, handler: MediaSessionActionHandler | null): void
setPositionState(state?: MediaPositionState): void