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§

source

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

👎Deprecated: Use CarPlay framework
Available on crate feature block2 only.
source

unsafe fn childItemsDisplayPlaybackProgressAtIndexPath( &self, index_path: &NSIndexPath ) -> bool
where Self: Sized + Message,

👎Deprecated: Use CarPlay framework
source

unsafe fn contentItemForIdentifier_completionHandler( &self, identifier: &NSString, completion_handler: &Block<dyn Fn(*mut MPContentItem, *mut NSError)> )
where Self: Sized + Message,

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

unsafe fn numberOfChildItemsAtIndexPath( &self, index_path: &NSIndexPath ) -> NSInteger
where Self: Sized + Message,

👎Deprecated: Use CarPlay framework
source

unsafe fn contentItemAtIndexPath( &self, index_path: &NSIndexPath ) -> Option<Id<MPContentItem>>
where Self: Sized + Message,

👎Deprecated: Use CarPlay framework
Available on crate feature MPContentItem only.

Trait Implementations§

source§

impl ProtocolType for dyn MPPlayableContentDataSource

source§

const NAME: &'static str = "MPPlayableContentDataSource"

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 MPPlayableContentDataSource

Implementations on Foreign Types§

source§

impl<T> MPPlayableContentDataSource for ProtocolObject<T>

Implementors§