foo-webview-sdk
    Preparing search index...

    Interface MediaGetContainerInfoSuccessExperimental

    Successful response from media.getContainerInfo.

    interface MediaGetContainerInfoSuccess {
        attachments: ContainerAttachment[];
        chapters?: ContainerChapter[];
        container?: "mp4" | "mov" | "matroska" | "webm";
        duration?: number;
        mimeType?: string;
        recognized: boolean;
        success: true;
        tracks: ContainerTrack[];
    }
    Index
    attachments: ContainerAttachment[]

    Attachment metadata without file contents.

    chapters?: ContainerChapter[]

    Chapters in container order, which is foobar2000's subsong order, not sorted by start. MP4 uses the QuickTime chapter track when present, otherwise Nero chpl; Matroska lists the top-level chapters of every edition, hidden ones included. Empty when the container declares none; omitted when the chapter structure is malformed or links other files.

    container?: "mp4" | "mov" | "matroska" | "webm"

    Container identified by its file structure.

    duration?: number

    Declared presentation duration in seconds, when known.

    mimeType?: string

    MIME type of this container.

    recognized: boolean

    Whether the format belongs to a supported container family.

    success: true

    Always true here; a failed call resolves with ApiFailure instead.

    tracks: ContainerTrack[]

    Declared tracks; empty for unrecognized formats.