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 *titleDeclared In
SPTAppRemoteContentItem.h
subtitle
required method
The secondary title of the item.
@property (nonatomic, copy, readonly, nullable) NSString *subtitleDeclared In
SPTAppRemoteContentItem.h
contentDescription
required method
The description of the item.
@property (nonatomic, copy, readonly, nullable) NSString *contentDescriptionDeclared In
SPTAppRemoteContentItem.h
identifier
required method
The unique identifier of the item.
@property (nonatomic, copy, readonly) NSString *identifierDeclared In
SPTAppRemoteContentItem.h
URI
required method
The playback URI of this item.
@property (nonatomic, copy, readonly) NSString *URIDeclared 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 availableOfflineDeclared In
SPTAppRemoteContentItem.h
playable
required method
Returns YES if the item is directly playable, otherwise NO.
@property (nonatomic, assign, readonly, getter=isPlayable) BOOL playableDeclared 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 containerDeclared In
SPTAppRemoteContentItem.h
pinnned
required method
Returns YES if the item is pinned in Your Library, otherwise NO.
@property (nonatomic, assign, readonly, getter=isPinned) BOOL pinnnedDeclared In
SPTAppRemoteContentItem.h
children
required method
A list of the content item’s children.
@property (nonatomic, strong, readonly, nullable) NSArray<id<SPTAppRemoteContentItem> > *childrenDiscussion
Note: This is not populated for all container items as some of them are fetched
lazily with the fetchChildrenOfContentItem:callback: method.
Declared In
SPTAppRemoteContentItem.h