VdoPlayerView

open class VdoPlayerView : AutoSizeFrameLayout, PlayerHost

Constructors

Link copied to clipboard
open fun VdoPlayerView(context: Context)
Link copied to clipboard
open fun VdoPlayerView(context: Context, attributeSet: AttributeSet)
Link copied to clipboard
open fun VdoPlayerView(context: Context, attributeSet: AttributeSet, defStyleAttr: Int)

Functions

Link copied to clipboard
Register a listener for initialization callbacks from this PlayerHost
Link copied to clipboard
Link copied to clipboard
open fun getNewCSHandler(): SessionHandler
Link copied to clipboard
open fun getPlayer(): VdoPlayer
Get the VdoPlayer hosted by this PlayerHost.
Link copied to clipboard
Initializes the PlayerHost with an InitializationListener to listen for initialization callbacks.
Link copied to clipboard
open fun packUp()
Internally releases the player without using the public release api, so it can be restored.
Link copied to clipboard
open fun pausePlayer()
pause video
Link copied to clipboard
Remove a registered InitializationListener
Link copied to clipboard
open fun restore(lastPlaybackState: PlaybackState)
Link copied to clipboard
open fun setAspectRatio(widthToHeightRatio: Float)
Set aspect ratio for the fragment view.

Properties

Link copied to clipboard
open var resizeMode: Int
Link copied to clipboard