Enumeration

INPlaybackRepeatMode

The possible repeat modes at the time the user plays the media item.

Declaration

enum INPlaybackRepeatMode : Int

Topics

Repeat Modes

case unknown

Unknown repeat mode.

case none

A mode that doesn't repeat media items.

case all

A mode that repeats all media items within a media container.

case one

A mode that repeats the current media item within a media container.

See Also

Getting Playback Settings

var playShuffled: Bool?

A Boolean value that indicates whether the media plays in a shuffled order.

var resumePlayback: Bool?

The resume playback setting at the time the user plays the media item.

var playbackRepeatMode: INPlaybackRepeatMode

The repeat mode setting at the time the user plays the media item.

var playbackSpeed: Double?

The playback speed for a media item.

var playbackQueueLocation: INPlaybackQueueLocation

The queue location for a media item during playback.

enum INPlaybackQueueLocation

Constants that describe the playback queue location for a media item.

var mediaSearch: INMediaSearch?

An object that contains the search parameters.