enterPictureInPictureMode
This method puts the registered Activity into Picture-in-Picture mode. This method is only supported for Android versions equal or greater than O, otherwise the method will not do anything.
See also
Throws
throws the exception if an activity has not been registered. You must call registerActivity.