SPTAppRemoteContentItem Protocol Reference
Conforms to | NSObject SPTAppRemoteImageRepresentable |
---|---|
Declared in | SPTAppRemoteContentItem.h |
Overview
The SPTAppRemoteContentItem
protocol represents a track or a collection of tracks. Use the isContainer
instance method
to determine if the content item is a collection of tracks for which to grab children from.
title
required method
The primary title of the item.
@property (nonatomic, copy, readonly, nullable) NSString *title
Declared In
SPTAppRemoteContentItem.h
subtitle
required method
The secondary title of the item.
@property (nonatomic, copy, readonly, nullable) NSString *subtitle
Declared In
SPTAppRemoteContentItem.h
identifier
required method
The unique identifier of the item.
@property (nonatomic, copy, readonly) NSString *identifier
Declared In
SPTAppRemoteContentItem.h
URI
required method
The playback URI of this item.
@property (nonatomic, copy, readonly) NSString *URI
Declared In
SPTAppRemoteContentItem.h
availableOffline
required method
YES
if the item is available offline, or if it has any child that is available offline, otherwise NO
.
@property (nonatomic, assign, readonly, getter=isAvailableOffline) BOOL availableOffline
Declared In
SPTAppRemoteContentItem.h
playable
required method
Returns YES
if the item is directly playable, otherwise NO
.
@property (nonatomic, assign, readonly, getter=isPlayable) BOOL playable
Declared In
SPTAppRemoteContentItem.h
container
required method
Returns YES
if the item is expected to contain children, otherwise NO
.
@property (nonatomic, assign, readonly, getter=isContainer) BOOL container
Declared In
SPTAppRemoteContentItem.h