Contents

PlayMediaControlCommandSet

A set of modifications to apply to the default set of available playback controls.

Declaration

object PlayMediaControlCommandSet

Properties

NameTypeDescription
nextTrackboolean

Move to the next track while playing content.

previousTrackboolean

Move to the beginning of the current track, or to the previous track, while playing content.

skipForwardboolean

Move forward by a number of seconds.

skipBackwardboolean

Move backward by a number of seconds.

preferSkipForwardboolean

Display a skip forward control in the remote UI instead of a next track control when the skipForward control is available.

preferSkipBackwardboolean

Display a skip backward control in the remote UI instead of a next track control when the skipBackward control is available.

seekToPlaybackPositionboolean

Scrub to any point in the content.

likeTrackboolean

Like the current content.

dislikeTrackboolean

Express dislike for the current content.

bookmarkTrackboolean

Save the current content for later.

Discussion

Provide true to enable a control that isn’t available by default in the current PlayMediaControlScheme, and false to disable a control that’s available by default in the PlayMediaControlScheme. Omit entries for any controls that need to respect the default behavior of the current scheme.

When the user interacts with these controls, the client sends that information to the Report Playback Progress and Activity endpoint. This is separate from the user telling Siri they like some content, which the client sends to the Process an Update Media Affinity Intent endpoint.

See Also

Customizing Playback Controls