onPictureInPictureModeChanged

abstract fun onPictureInPictureModeChanged(isInPictureInPictureMode: Boolean)

Handles changes in the host activity's (or fragment's) Picture-in-Picture (PiP) mode.

This method should be invoked within the host activity's or fragment's onPictureInPictureModeChanged() method, which is triggered by the system.

Parameters

isInPictureInPictureMode

Boolean value indicating whether the host activity is in Picture-in-Picture mode.