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§
unsafe fn playerViewWillStartPictureInPicture(&self, player_view: &AVPlayerView)
Available on crate feature
objc2-app-kit and macOS only.unsafe fn playerViewDidStartPictureInPicture(&self, player_view: &AVPlayerView)
Available on crate feature
objc2-app-kit and macOS only.unsafe fn playerView_failedToStartPictureInPictureWithError( &self, player_view: &AVPlayerView, error: &NSError )
Available on crate feature
objc2-app-kit and macOS only.unsafe fn playerViewWillStopPictureInPicture(&self, player_view: &AVPlayerView)
Available on crate feature
objc2-app-kit and macOS only.unsafe fn playerViewDidStopPictureInPicture(&self, player_view: &AVPlayerView)
Available on crate feature
objc2-app-kit and macOS only.unsafe fn playerView_restoreUserInterfaceForPictureInPictureStopWithCompletionHandler( &self, player_view: &AVPlayerView, completion_handler: &Block<dyn Fn(Bool)> )
Available on crate feature
block2 and crate feature objc2-app-kit and macOS only.unsafe fn playerViewShouldAutomaticallyDismissAtPictureInPictureStart( &self, player_view: &AVPlayerView ) -> bool
Available on crate feature
objc2-app-kit and macOS only.