androidx.core.pip


The PiP Jetpack library addresses several challenges in Android's Picture-in-Picture (PiP) mode:

Furthermore, all new PiP features will be delivered through the Jetpack library, ensuring that library adopters can access these features with minimal to no effort.

For developer guidance, check out the following guide:

https://developer.android.com/develop/ui/views/pip-jetpack

Interfaces

Classes

BasicPictureInPicture

Basic Picture-in-Picture implementation.

PictureInPictureDelegate

A delegate class to help set up PiP (Picture-in-Picture) functionalities on behalf of the given PictureInPictureProvider instance.

PictureInPictureDelegate.Event

Represents the PiP event emitted from the system.

VideoPlaybackPictureInPicture

Picture-in-Picture implementation optimized for Video Playback applications.