SPTAppRemoteTrack Protocol Reference

Conforms to NSObject
SPTAppRemoteImageRepresentable
Declared in SPTAppRemoteTrack.h

Overview

The SPTAppRemoteTrack represents a track.

  name required method

The name of the track.

@property (nonatomic, copy, readonly) NSString *name

Declared In

SPTAppRemoteTrack.h

  URI required method

The URI of the track.

@property (nonatomic, copy, readonly) NSString *URI

Declared In

SPTAppRemoteTrack.h

  duration required method

The duration of the track in miliseconds.

@property (nonatomic, assign, readonly) NSUInteger duration

Declared In

SPTAppRemoteTrack.h

  artist required method

The artist of the track.

@property (nonatomic, strong, readonly) id<SPTAppRemoteArtist> artist

Declared In

SPTAppRemoteTrack.h

  album required method

The album of the track.

@property (nonatomic, strong, readonly) id<SPTAppRemoteAlbum> album

Declared In

SPTAppRemoteTrack.h

  saved required method

YES if the user has saved the track, otherwise NO.

@property (nonatomic, assign, readonly, getter=isSaved) BOOL saved

Declared In

SPTAppRemoteTrack.h

  episode required method

YES if the track is a podcast, video, or other audio episode, otherwise NO. If the track is an episode and SPTAppRemotePlaybackRestrictions canSeek is YES you should show 15 second skip buttons in your UI.

@property (nonatomic, assign, readonly, getter=isEpisode) BOOL episode

Declared In

SPTAppRemoteTrack.h

  podcast required method

YES if the track is a podcast, otherwise NO. If the track is a podcast and SPTAppRemotePlaybackRestrictions canSeek is YES you should show 15 second skip buttons in your UI as well as a podcast speed control to change playback speed.

@property (nonatomic, assign, readonly, getter=isPodcast) BOOL podcast

Declared In

SPTAppRemoteTrack.h

  advertisement required method

YES if the track is an ad, otherwise NO.

@property (nonatomic, assign, readonly, getter=isAdvertisement) BOOL advertisement

Declared In

SPTAppRemoteTrack.h