PictureInPictureModeChangedInfo

constructor(isInPictureInPictureMode: Boolean)


@RequiresApi(value = 26)
constructor(isInPictureInPictureMode: Boolean, newConfig: Configuration)

Construct an instance that contains the new picture-in-picture mode and the new configuration with the new picture-in-picture mode applied.

Parameters

isInPictureInPictureMode

True if the activity is in picture-in-picture mode.

newConfig

The new configuration of the activity with the state {@param isInPictureInPictureMode}.