Trait MPSystemMusicPlayerController

Source
pub unsafe trait MPSystemMusicPlayerController: NSObjectProtocol {
    // Provided method
    unsafe fn openToPlayQueueDescriptor(
        &self,
        queue_descriptor: &MPMusicPlayerQueueDescriptor,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature MPMusicPlayerController only.
Expand description

Provided Methods§

Source

unsafe fn openToPlayQueueDescriptor( &self, queue_descriptor: &MPMusicPlayerQueueDescriptor, )
where Self: Sized + Message,

Available on crate feature MPMusicPlayerQueueDescriptor only.

Switches to Music to play the content provided by the queue descriptor.

Trait Implementations§

Source§

impl ProtocolType for dyn MPSystemMusicPlayerController

Source§

const NAME: &'static str = "MPSystemMusicPlayerController"

The name of the Objective-C protocol that this type represents. Read more
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 MPSystemMusicPlayerController

Implementations on Foreign Types§

Source§

impl<T> MPSystemMusicPlayerController for ProtocolObject<T>

Implementors§