pub unsafe trait AVPlayerViewPictureInPictureDelegate: NSObjectProtocol {
    // Provided methods
    unsafe fn playerViewWillStartPictureInPicture(
        &self,
        player_view: &AVPlayerView
    )
       where Self: Sized + Message { ... }
    unsafe fn playerViewDidStartPictureInPicture(
        &self,
        player_view: &AVPlayerView
    )
       where Self: Sized + Message { ... }
    unsafe fn playerView_failedToStartPictureInPictureWithError(
        &self,
        player_view: &AVPlayerView,
        error: &NSError
    )
       where Self: Sized + Message { ... }
    unsafe fn playerViewWillStopPictureInPicture(
        &self,
        player_view: &AVPlayerView
    )
       where Self: Sized + Message { ... }
    unsafe fn playerViewDidStopPictureInPicture(
        &self,
        player_view: &AVPlayerView
    )
       where Self: Sized + Message { ... }
    unsafe fn playerView_restoreUserInterfaceForPictureInPictureStopWithCompletionHandler(
        &self,
        player_view: &AVPlayerView,
        completion_handler: &Block<dyn Fn(Bool)>
    )
       where Self: Sized + Message { ... }
    unsafe fn playerViewShouldAutomaticallyDismissAtPictureInPictureStart(
        &self,
        player_view: &AVPlayerView
    ) -> bool
       where Self: Sized + Message { ... }
}
Available on crate feature AVPlayerView only.

Provided Methods§

source

unsafe fn playerViewWillStartPictureInPicture(&self, player_view: &AVPlayerView)
where Self: Sized + Message,

Available on crate feature objc2-app-kit and macOS only.
source

unsafe fn playerViewDidStartPictureInPicture(&self, player_view: &AVPlayerView)
where Self: Sized + Message,

Available on crate feature objc2-app-kit and macOS only.
source

unsafe fn playerView_failedToStartPictureInPictureWithError( &self, player_view: &AVPlayerView, error: &NSError )
where Self: Sized + Message,

Available on crate feature objc2-app-kit and macOS only.
source

unsafe fn playerViewWillStopPictureInPicture(&self, player_view: &AVPlayerView)
where Self: Sized + Message,

Available on crate feature objc2-app-kit and macOS only.
source

unsafe fn playerViewDidStopPictureInPicture(&self, player_view: &AVPlayerView)
where Self: Sized + Message,

Available on crate feature objc2-app-kit and macOS only.
source

unsafe fn playerView_restoreUserInterfaceForPictureInPictureStopWithCompletionHandler( &self, player_view: &AVPlayerView, completion_handler: &Block<dyn Fn(Bool)> )
where Self: Sized + Message,

Available on crate feature block2 and crate feature objc2-app-kit and macOS only.
source

unsafe fn playerViewShouldAutomaticallyDismissAtPictureInPictureStart( &self, player_view: &AVPlayerView ) -> bool
where Self: Sized + Message,

Available on crate feature objc2-app-kit and macOS only.

Trait Implementations§

source§

impl ProtocolType for dyn AVPlayerViewPictureInPictureDelegate

source§

const NAME: &'static str = "AVPlayerViewPictureInPictureDelegate"

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 AVPlayerViewPictureInPictureDelegate

Implementations on Foreign Types§

source§

impl<T> AVPlayerViewPictureInPictureDelegate for ProtocolObject<T>

Implementors§