VdoPlayerSupportFragment

Support library based equivalent of VdoPlayerFragment.

A VdoPlayerSupportFragment hosts a VdoPlayer for media playback.

It can be dropped into your activity layout and initialized using initialize to obtain a VdoPlayer instance.

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
Register a listener for initialization callbacks from this PlayerHost
Link copied to clipboard
open fun getNewCSHandler(): SessionHandler
Call this methode when the player's onLoaded() called.
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 onActivityCreated(savedInstanceState: Bundle)
Link copied to clipboard
open fun onAttach(context: Context)
Link copied to clipboard
open fun onCreate(savedInstanceState: Bundle)
Link copied to clipboard
open fun onCreateView(inflater: LayoutInflater, container: ViewGroup, savedInstanceState: Bundle): View
Link copied to clipboard
open fun onDestroy()
Link copied to clipboard
open fun onDestroyView()
Link copied to clipboard
open fun onDetach()
Link copied to clipboard
open fun onPause()
Link copied to clipboard
open fun onResume()
Link copied to clipboard
open fun onSaveInstanceState(outState: Bundle)
Link copied to clipboard
open fun onStart()
Link copied to clipboard
open fun onStop()
Link copied to clipboard
open fun onViewStateRestored(savedInstanceState: Bundle)
Link copied to clipboard
Remove a registered InitializationListener
Link copied to clipboard
open fun restore()
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