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
SKRepeatModeequal to that of the givenSPTRepeatModevalue.Declaration
Swift
public init(_ value: SPTRepeatMode)Parameters
valueThe
SPTRepeatModevalue.
View on GitHub
SKRepeatMode Enumeration Reference