pub unsafe trait MPPlayableContentDelegate: NSObjectProtocol {
// Provided methods
unsafe fn playableContentManager_initiatePlaybackOfContentItemAtIndexPath_completionHandler(
&self,
content_manager: &MPPlayableContentManager,
index_path: &NSIndexPath,
completion_handler: &Block<dyn Fn(*mut NSError)>
)
where Self: Sized + Message { ... }
unsafe fn playableContentManager_initializePlaybackQueueWithCompletionHandler(
&self,
content_manager: &MPPlayableContentManager,
completion_handler: &Block<dyn Fn(*mut NSError)>
)
where Self: Sized + Message { ... }
unsafe fn playableContentManager_initializePlaybackQueueWithContentItems_completionHandler(
&self,
content_manager: &MPPlayableContentManager,
content_items: Option<&NSArray>,
completion_handler: &Block<dyn Fn(*mut NSError)>
)
where Self: Sized + Message { ... }
unsafe fn playableContentManager_didUpdateContext(
&self,
content_manager: &MPPlayableContentManager,
context: &MPPlayableContentManagerContext
)
where Self: Sized + Message { ... }
}👎Deprecated: Use CarPlay framework
Available on crate feature
MPPlayableContentDelegate only.Provided Methods§
unsafe fn playableContentManager_initiatePlaybackOfContentItemAtIndexPath_completionHandler( &self, content_manager: &MPPlayableContentManager, index_path: &NSIndexPath, completion_handler: &Block<dyn Fn(*mut NSError)> )
👎Deprecated: Use CarPlay framework
Available on crate features
MPPlayableContentManager and block2 only.unsafe fn playableContentManager_initializePlaybackQueueWithCompletionHandler( &self, content_manager: &MPPlayableContentManager, completion_handler: &Block<dyn Fn(*mut NSError)> )
👎Deprecated: Use Intents framework for initiating playback queues.
Available on crate features
MPPlayableContentManager and block2 only.unsafe fn playableContentManager_initializePlaybackQueueWithContentItems_completionHandler( &self, content_manager: &MPPlayableContentManager, content_items: Option<&NSArray>, completion_handler: &Block<dyn Fn(*mut NSError)> )
👎Deprecated: Use Intents framework for initiating playback queues.
Available on crate features
MPPlayableContentManager and block2 only.unsafe fn playableContentManager_didUpdateContext( &self, content_manager: &MPPlayableContentManager, context: &MPPlayableContentManagerContext )
👎Deprecated: Use CarPlay framework
Available on crate features
MPPlayableContentManager and MPPlayableContentManagerContext only.