ExperimentalExperimentalcontextThe context returned by jitSession.prepareAdoption.
ExperimentalcontrolControl token from jitSession.create or jitSession.claimControl.
ExperimentalcurrentCaller's entry identifier for the track playing.
ExperimentalexpectedThe revision the command is based on.
ExperimentalrequestCaller-chosen key that makes a retry return the first answer instead of running again.
ExperimentalsessionSession to act on.
ExperimentalsnapshotThe snapshot token returned with it.
Parameters for
jitSession.adoptNative. Adopt the native playback captured byjitSession.prepareAdoptionwithout interrupting it. The track playing becomes the current attempt, bound tocurrentEntryId, and keeps decoding; the native playback queue is emptied, its occurrences kept by the host, and the session schedules what follows (jitSession:needNextasks for it). Stopping or releasing the session gives the remaining occurrences back to the native queue and continues the playlist after the last row played from it. When no row is left after it, the last occurrence goes into a single-track playlist the host keeps for this (__webview_restore__), so playback stops after it instead of continuing the playlist it came from. AjitQueuecall made while the context is open keeps its usual behavior; the session then staysstoppedwith reasonlegacyTakeover, keeps its control token and accepts onlyjitSession.release. Fails withCONFLICTwhen the snapshot was replaced, expired or already used, or native playback changed since it was taken, and withNOT_SUPPORTEDwhen a setting no longer allows adoption; nothing changes then.