register Activity
This method registers and holds a weak reference to the Activity that will be put into Picture-in-Picture mode. You can have only one registered Activity at a time. This method is only supported for Android versions equal or greater than O, otherwise the method will not do anything.
Parameters
activity
the Activity
video View
the BaseVideoView