onPictureInPictureModeChanged
This method reacts to the Picture-in-Picture changes and emits DID_ENTER_PICTURE_IN_PICTURE_MODE and DID_EXIT_PICTURE_IN_PICTURE_MODE events. This method must be called from the onPictureInPictureModeChanged ()} method.
Parameters
isInPictureInPictureMode
true if it is in Picture-inPicture mode.
newConfig
the new configuration.