supervision-js
    Preparing search index...

    Interface MediaSessionActivity

    One loading, waiting, processing, or error activity.

    artifactKind is intentionally a string. Platform packages can report renderer-specific artifact families without making core import renderer enums or prepared-artifact internals.

    interface MediaSessionActivity {
        artifactKind?: string;
        blockingPlayback: boolean;
        blockingPresentation: boolean;
        detail?: string | null;
        errorKind?: MediaErrorKind | null;
        errorMessage?: string | null;
        kind: MediaSessionActivityKind;
        label: string;
        pendingCount?: number;
        preparedCount?: number;
        progress?: number;
        status: MediaSessionActivityStatus;
    }
    Index
    artifactKind?: string
    blockingPlayback: boolean

    True when this activity should prevent media playback from advancing.

    blockingPresentation: boolean

    True when this activity prevents the current visual frame from being fully presented, while media playback may still be allowed to advance.

    detail?: string | null
    errorKind?: MediaErrorKind | null

    Stable failure classification when this activity reports an error.

    Prefer this over errorMessage for control flow: messages are diagnostic text and may name vendor internals. Absent when the reporting subsystem does not classify its failures.

    errorMessage?: string | null
    label: string
    pendingCount?: number
    preparedCount?: number
    progress?: number