pub unsafe trait MPPlayableContentDataSource: NSObjectProtocol {
// Provided methods
unsafe fn beginLoadingChildItemsAtIndexPath_completionHandler(
&self,
index_path: &NSIndexPath,
completion_handler: &Block<dyn Fn(*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<dyn Fn(*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
MPPlayableContentDataSource only.Provided Methods§
unsafe fn beginLoadingChildItemsAtIndexPath_completionHandler( &self, index_path: &NSIndexPath, completion_handler: &Block<dyn Fn(*mut NSError)> )
👎Deprecated: Use CarPlay framework
Available on crate feature
block2 only.unsafe fn childItemsDisplayPlaybackProgressAtIndexPath( &self, index_path: &NSIndexPath ) -> bool
👎Deprecated: Use CarPlay framework
unsafe fn contentItemForIdentifier_completionHandler( &self, identifier: &NSString, completion_handler: &Block<dyn Fn(*mut MPContentItem, *mut NSError)> )
👎Deprecated: Use CarPlay framework
Available on crate features
MPContentItem and block2 only.unsafe fn numberOfChildItemsAtIndexPath( &self, index_path: &NSIndexPath ) -> NSInteger
👎Deprecated: Use CarPlay framework
unsafe fn contentItemAtIndexPath( &self, index_path: &NSIndexPath ) -> Option<Id<MPContentItem>>
👎Deprecated: Use CarPlay framework
Available on crate feature
MPContentItem only.