PictureInPictureHandler
interface PictureInPictureHandler
Represents the base functions required by PlayerView to enable and handle Picture-In-Picture mode.
Do not invoke the functions of the implementing class on your own. PlayerView will handle them (after setting the handler via PlayerView.setPictureInPictureHandler).
Functions
Link copied to clipboard
Puts the view into Picture-In-Picture (PiP) mode. Has no effect if isPictureInPictureAvailable is false or if the view is already in PiP mode.
Link copied to clipboard
Pulls the view out of Picture-In-Picture (PiP) mode. Has no effect if isPictureInPictureAvailable is false or if the view is currently not in PiP mode.