foo-webview-sdk
    Preparing search index...

    Class JitSessionClient

    Keep document-bound JIT credentials, serialize writes and retain operation terminals. Construct before creating or claiming a session. Dispose before unloading the page; disposal removes subscriptions without stopping playback or releasing the host session. Command failures reject with ApiCallError and are never automatically replayed.

    Index
    • Release the buffer and control while allowing the current resource to finish decoding. For a session that adopted native playback, nativeDisposition chooses between giving the remaining queue occurrences back (restore, the default) and leaving native playback as it is (detach). A failed release keeps the credentials and refreshes the state, so the caller can read the recovery details and retry or detach.

      Parameters

      • OptionalrequestId: string
      • OptionalnativeDisposition: "restore" | "detach"

      Returns Promise<void>