foo-webview-sdk
    Preparing search index...

    Interface JitSessionGetCapabilitiesSuccessExperimental

    Successful response from jitSession.getCapabilities.

    interface JitSessionGetCapabilitiesSuccess {
        adoption: boolean;
        backgroundExecution: boolean;
        externalTakeoverDetection: "afterTrackStart";
        failureRecheck?: boolean;
        preciseFailure: boolean;
        protocolVersion: number;
        success: true;
    }
    Index
    adoption: boolean

    Whether a session can take over native playback without interrupting it, through jitSession.prepareAdoption and jitSession.adoptNative. This host supports it; jitSession.prepareAdoption decides whether the playback at hand qualifies.

    backgroundExecution: boolean

    Whether the controlling page keeps answering jitSession:needNext while its window is minimized, hidden to the tray or the screen is locked. This host supports it: while a session is active, its page is hidden but not suspended. Closing or reloading the page still interrupts the supply until a page claims control again.

    externalTakeoverDetection: "afterTrackStart"

    When playback started elsewhere is recognized: only once that track has started, so an operation completing before then may still be added.

    failureRecheck?: boolean

    Whether an attempt that ends as unknown within its first second is followed by jitSession:attemptRechecked.

    preciseFailure: boolean

    Whether attempt failures are classified (network, decoding). Not available: foobar2000 reports no structured playback error. See failureRecheck for the best-effort substitute.

    protocolVersion: number

    Version of the session protocol.

    success: true

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