Highest state revision observed in responses, snapshots or events.
Selected session, retained after release so operation results can still be queried.
Latest received snapshot, copied so callers cannot mutate client bookkeeping.
Most recent automatic snapshot reconciliation failure; cleared by a successful refresh.
Adopt a prepared snapshot without interrupting the track playing.
Claim an existing session and reconcile its state without restarting its attempt.
Acquire a session and read its initial snapshot, without changing playback.
Remove listeners and reject pending waits without changing host playback. Idempotent.
Read one page of the native context; reading changes no revision.
Query an operation; expired host records reject with NOT_FOUND.
Accept a new attempt; waitForOperation observes whether its execution completed.
Play an adopted source row or queue occurrence now; starting a queue occurrence consumes it.
Snapshot native playback for adoption without changing it; the returned snapshotToken expires after 30 seconds.
OptionalrequestId: stringRead state and recheck active operation waits; older responses cannot overwrite a newer snapshot.
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.
OptionalrequestId: stringOptionalnativeDisposition: "restore" | "detach"Buffer an adopted source row or queue occurrence after the current attempt.
Keep and reorder the queue occurrences still to be given back; the ones left out are removed.
Modify only the next slot; afterAttemptId prevents an update targeting an old attempt.
Skip to a prepared next entry without consuming the native queue. Rejects with NO_ACTIVE_ITEM if none is ready; the current attempt and revision are unchanged.
OptionalrequestId: stringStop playback while preserving the session and its queryable operation results.
OptionalrequestId: stringSubscribe to deduplicated session events, including terminals older than the latest snapshot.
Resolve with a terminal, including failed or superseded; timeout or abort affects only this wait.
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.