public interface MPPlayableContentDataSource
| Modifier and Type | Interface and Description |
|---|---|
static interface |
MPPlayableContentDataSource.Block_beginLoadingChildItemsAtIndexPathCompletionHandler |
static interface |
MPPlayableContentDataSource.Block_contentItemForIdentifierCompletionHandler |
| Modifier and Type | Method and Description |
|---|---|
default void |
beginLoadingChildItemsAtIndexPathCompletionHandler(NSIndexPath indexPath,
MPPlayableContentDataSource.Block_beginLoadingChildItemsAtIndexPathCompletionHandler completionHandler)
Tells the data source to begin loading content items that are children of the
item specified by indexPath.
|
default boolean |
childItemsDisplayPlaybackProgressAtIndexPath(NSIndexPath indexPath)
Tells MediaPlayer whether the content provided by the data source supports
playback progress as a property of its metadata.
|
MPContentItem |
contentItemAtIndexPath(NSIndexPath indexPath)
Returns the content item at the specified index path.
|
default void |
contentItemForIdentifierCompletionHandler(java.lang.String identifier,
MPPlayableContentDataSource.Block_contentItemForIdentifierCompletionHandler completionHandler)
Provides a content item for the provided identifier.
|
long |
numberOfChildItemsAtIndexPath(NSIndexPath indexPath)
Returns the number of child nodes at the specified index path.
|
default void beginLoadingChildItemsAtIndexPathCompletionHandler(NSIndexPath indexPath, MPPlayableContentDataSource.Block_beginLoadingChildItemsAtIndexPathCompletionHandler completionHandler)
default boolean childItemsDisplayPlaybackProgressAtIndexPath(NSIndexPath indexPath)
MPContentItem contentItemAtIndexPath(NSIndexPath indexPath)
default void contentItemForIdentifierCompletionHandler(java.lang.String identifier,
MPPlayableContentDataSource.Block_contentItemForIdentifierCompletionHandler completionHandler)
long numberOfChildItemsAtIndexPath(NSIndexPath indexPath)