UniView
Constructors
Functions
change color by UiConfig
change control panel
Change the icon of play/pause/replay.
change the seekbar style
Enable or disable menu items except for the androidx.mediarouter.app.MediaRouteButton items .
handle screen touch to control visible of control panel.
Initialize Progress when player is initialized
Exit the player.
Setup bottom info res id
Keep the last frame when player loading. This function is limited for D3 enabled.
Set keep screen on mode.
Set the resize mode of the player view.
Set subtitle mode
Set subtitle style
Set surface secure to lock screenshot or not
Sets the surface type for the player view, determining how video will be rendered.
Attaches the player to the player view
Setup the bottom menu item and the views will be resized to 24dp. The view must have id because the module will put them in ConstraintLayout.
Set the control panel and initialize it
Setup the full screen button style and click listener.
Setup the top menu item and the views will be resized to 24dp. The view must have id because the module will put them in ConstraintLayout.
Set the visible of control panel.
Cover image
Show the loading bar.
Set the visible of control panel when disable PlaybackControlsAuto
Show or hide a view by ViewType.
update mute icon
Update the progress bar of seeking bar.
Set frame of thumbnail seeking
Update position of view of thumbnail seeking