pub unsafe trait MPPlayableContentDataSource: NSObjectProtocol {
// Provided methods
unsafe fn beginLoadingChildItemsAtIndexPath_completionHandler(
&self,
index_path: &NSIndexPath,
completion_handler: &Block<(*mut NSError,), ()>,
)
where Self: Sized + Message { ... }
unsafe fn childItemsDisplayPlaybackProgressAtIndexPath(
&self,
index_path: &NSIndexPath,
) -> bool
where Self: Sized + Message { ... }
unsafe fn contentItemForIdentifier_completionHandler(
&self,
identifier: &NSString,
completion_handler: &Block<(*mut MPContentItem, *mut NSError), ()>,
)
where Self: Sized + Message { ... }
unsafe fn numberOfChildItemsAtIndexPath(
&self,
index_path: &NSIndexPath,
) -> NSInteger
where Self: Sized + Message { ... }
unsafe fn contentItemAtIndexPath(
&self,
index_path: &NSIndexPath,
) -> Option<Id<MPContentItem>>
where Self: Sized + Message { ... }
}👎Deprecated: Use CarPlay framework
Available on crate feature
MediaPlayer only.Provided Methods§
unsafe fn beginLoadingChildItemsAtIndexPath_completionHandler( &self, index_path: &NSIndexPath, completion_handler: &Block<(*mut NSError,), ()>, )
👎Deprecated: Use CarPlay framework
Available on crate features
Foundation_NSError and Foundation_NSIndexPath only.unsafe fn childItemsDisplayPlaybackProgressAtIndexPath( &self, index_path: &NSIndexPath, ) -> bool
👎Deprecated: Use CarPlay framework
Available on crate feature
Foundation_NSIndexPath only.unsafe fn contentItemForIdentifier_completionHandler( &self, identifier: &NSString, completion_handler: &Block<(*mut MPContentItem, *mut NSError), ()>, )
👎Deprecated: Use CarPlay framework
Available on crate features
Foundation_NSError and Foundation_NSString and MediaPlayer_MPContentItem only.unsafe fn numberOfChildItemsAtIndexPath( &self, index_path: &NSIndexPath, ) -> NSInteger
👎Deprecated: Use CarPlay framework
Available on crate feature
Foundation_NSIndexPath only.unsafe fn contentItemAtIndexPath( &self, index_path: &NSIndexPath, ) -> Option<Id<MPContentItem>>
👎Deprecated: Use CarPlay framework
Available on crate features
Foundation_NSIndexPath and MediaPlayer_MPContentItem only.