PictureInPictureProvider
interface PictureInPictureProvider : OnPictureInPictureModeChangedProvider, OnPictureInPictureUiStateChangedProvider, OnUserLeaveHintProvider
Provider interface to support PiP (Picture-in-Picture) functionalities.
Functions
Link copied to clipboard
Available since API 24 in the framework Activity class, puts the activity in picture-in-picture mode if possible in the current system state. Any prior calls to setPictureInPictureParams will still apply when entering picture-in-picture through this call.
Link copied to clipboard
Available since API 26 in the framework Activity class, updates the properties of the picture-in-picture activity, or sets it to be used later when enterPictureInPictureMode is called