SKRepeatMode

public enum SKRepeatMode : String, Codable

A mode for repeating playback in a Spotify player.

  • off

    Nothing is repeated during playback.

    Declaration

    Swift

    case off
  • one

    A single track is repeated indefinitely.

    Declaration

    Swift

    case one = "track"
  • all

    The current playback context is repeated indefinitely.

    Declaration

    Swift

    case all = "context"
  • Creates an SKRepeatMode equal to that of the given SPTRepeatMode value.

    Declaration

    Swift

    public init(_ value: SPTRepeatMode)

    Parameters

    value

    The SPTRepeatMode value.