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§

source

unsafe fn playableContentManager_initiatePlaybackOfContentItemAtIndexPath_completionHandler( &self, content_manager: &MPPlayableContentManager, index_path: &NSIndexPath, completion_handler: &Block<dyn Fn(*mut NSError)> )
where Self: Sized + Message,

👎Deprecated: Use CarPlay framework
Available on crate features MPPlayableContentManager and block2 only.
source

unsafe fn playableContentManager_initializePlaybackQueueWithCompletionHandler( &self, content_manager: &MPPlayableContentManager, completion_handler: &Block<dyn Fn(*mut NSError)> )
where Self: Sized + Message,

👎Deprecated: Use Intents framework for initiating playback queues.
Available on crate features MPPlayableContentManager and block2 only.
source

unsafe fn playableContentManager_initializePlaybackQueueWithContentItems_completionHandler( &self, content_manager: &MPPlayableContentManager, content_items: Option<&NSArray>, completion_handler: &Block<dyn Fn(*mut NSError)> )
where Self: Sized + Message,

👎Deprecated: Use Intents framework for initiating playback queues.
Available on crate features MPPlayableContentManager and block2 only.
source

unsafe fn playableContentManager_didUpdateContext( &self, content_manager: &MPPlayableContentManager, context: &MPPlayableContentManagerContext )
where Self: Sized + Message,

👎Deprecated: Use CarPlay framework
Available on crate features MPPlayableContentManager and MPPlayableContentManagerContext only.

Trait Implementations§

source§

impl ProtocolType for dyn MPPlayableContentDelegate

source§

const NAME: &'static str = "MPPlayableContentDelegate"

The name of the Objective-C protocol that this type represents.
source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
source§

impl<T> ImplementedBy<T> for dyn MPPlayableContentDelegate

Implementations on Foreign Types§

source§

impl<T> MPPlayableContentDelegate for ProtocolObject<T>

Implementors§