Api Video Player Full Screen Controller
class ApiVideoPlayerFullScreenController(fragmentManager: FragmentManager, originalPlayerView: ApiVideoExoPlayerView, playerController: ApiVideoPlayerController, fullScreenListener: ApiVideoExoPlayerView.FullScreenListener? = null) : ApiVideoExoPlayerView.FullScreenListener
A class that handles the player full screen.
Internally, it creates another player view in a full screen dialog fragment.
Parameters
fragment Manager
The fragment manager.
original Player View
The player view.
player Controller
The player controller.
full Screen Listener
The full screen listener if you want to lock the orientation in full screen.
Constructors
Link copied to clipboard
constructor(fragmentManager: FragmentManager, originalPlayerView: ApiVideoExoPlayerView, playerController: ApiVideoPlayerController, fullScreenListener: ApiVideoExoPlayerView.FullScreenListener? = null)