SPTAppRemotePlayerState Protocol Reference

Conforms to NSObject
Declared in SPTAppRemotePlayerState.h

Overview

The SPTAppRemotePlayerState represents the state within the Spotify player.

  track required method

The track being played in the Spotify player.

@property (nonatomic, readonly) id<SPTAppRemoteTrack> track

Declared In

SPTAppRemotePlayerState.h

  playbackPosition required method

The position of the playback in the Spotify player.

@property (nonatomic, readonly) NSInteger playbackPosition

Declared In

SPTAppRemotePlayerState.h

  playbackSpeed required method

The speed of the playback in the Spotify player.

@property (nonatomic, readonly) float playbackSpeed

Declared In

SPTAppRemotePlayerState.h

  paused required method

YES if the Spotify player is paused, otherwise NO.

@property (nonatomic, readonly, getter=isPaused) BOOL paused

Declared In

SPTAppRemotePlayerState.h

  playbackRestrictions required method

The playback restrictions currently in effect.

@property (nonatomic, readonly) id<SPTAppRemotePlaybackRestrictions> playbackRestrictions

Declared In

SPTAppRemotePlayerState.h

  playbackOptions required method

The playback options currently in effect.

@property (nonatomic, readonly) id<SPTAppRemotePlaybackOptions> playbackOptions

Declared In

SPTAppRemotePlayerState.h