Documentation
    Preparing search index...

    Interface MediaSessionContext

    Optional UI, queue, and related-resource context for a media session.

    interface MediaSessionContext {
        detail?: string;
        index?: number;
        label?: string;
        links?: MediaContextLink[];
        total?: number;
    }
    Index

    Properties

    detail?: string

    Additional detail for the session context.

    index?: number

    Zero-based or shell-defined position in a list or queue.

    label?: string

    Short label for the session context, such as a playlist name.

    links?: MediaContextLink[]

    Related resource links for the media session.

    total?: number

    Total number of items in the associated list or queue.