kernl API
    Preparing search index...

    Interface MediaSessionView

    A session as the shell's player shows it.

    interface MediaSessionView {
        actions: readonly MediaAction[];
        context?: MediaSessionContext;
        current: boolean;
        detached: boolean;
        metadata?: MediaMetadata;
        owner: "shell" | "napplet";
        sessionId: string;
        state?: MediaPlaybackState;
        video: boolean;
        windowId: string;
    }

    Hierarchy

    • MediaSessionSnapshot
      • MediaSessionView
    Index
    actions: readonly MediaAction[]
    context?: MediaSessionContext
    current: boolean

    The session the player's controls are for: the one started last, or else the newest.

    detached: boolean

    The shell plays it on after its applet closed; the applet can no longer reach it.

    metadata?: MediaMetadata
    owner: "shell" | "napplet"
    sessionId: string
    state?: MediaPlaybackState
    video: boolean

    True when the shell plays a video for it, which needs somewhere to be shown.

    windowId: string