ExperimentalExperimentalcontrolControl token from jitSession.create or jitSession.claimControl.
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.
Parameters for
jitSession.prepareAdoption. Capture the native playback for adoption: the track playing, the native playback queue one occurrence at a time (repeated tracks stay separate) and the playlist it plays from. Nothing in playback, the queue, the playlists or the settings changes; read the occurrences and source rows withjitSession.getNativeContext. The session must be new:CONFLICTonce it has played, while ajitQueuebuffer is in use or while an adopted context is still open. A new call replaces an unadopted snapshot. Fails withNOT_SUPPORTEDunless playback is running and not paused from a row of a normal playlist (not an autoplaylist or another locked one), the playback order is Default, cursor and playback following and stop-after-current are off, and the queue holds at most 1024 tracks whose positions match their playlists;details.reasonnames the first failed condition.jitSession.adoptNativecommits the snapshot.