SKRepeatMode
public enum SKRepeatMode : String, Codable
A mode for repeating playback in a Spotify player.
-
Nothing is repeated during playback.
Declaration
Swift
case off
-
A single track is repeated indefinitely.
Declaration
Swift
case one = "track"
-
The current playback context is repeated indefinitely.
Declaration
Swift
case all = "context"
-
Creates an
SKRepeatMode
equal to that of the givenSPTRepeatMode
value.Declaration
Swift
public init(_ value: SPTRepeatMode)
Parameters
value
The
SPTRepeatMode
value.