SPTAppRemoteTrack Protocol Reference
| Conforms to | NSObject SPTAppRemoteImageRepresentable |
|---|---|
| Declared in | SPTAppRemoteTrack.h |
name
required method
The name of the track.
@property (nonatomic, copy, readonly) NSString *nameDeclared In
SPTAppRemoteTrack.h
URI
required method
The URI of the track.
@property (nonatomic, copy, readonly) NSString *URIDeclared In
SPTAppRemoteTrack.h
duration
required method
The duration of the track in miliseconds.
@property (nonatomic, assign, readonly) NSUInteger durationDeclared In
SPTAppRemoteTrack.h
artist
required method
The artist of the track.
@property (nonatomic, strong, readonly) id<SPTAppRemoteArtist> artistDeclared In
SPTAppRemoteTrack.h
album
required method
The album of the track.
@property (nonatomic, strong, readonly) id<SPTAppRemoteAlbum> albumDeclared In
SPTAppRemoteTrack.h
saved
required method
YES if the user has saved the track, otherwise NO.
@property (nonatomic, assign, readonly, getter=isSaved) BOOL savedDeclared 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 episodeDeclared 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 podcastDeclared In
SPTAppRemoteTrack.h
advertisement
required method
YES if the track is an ad, otherwise NO.
@property (nonatomic, assign, readonly, getter=isAdvertisement) BOOL advertisementDeclared In
SPTAppRemoteTrack.h