Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Set callback to listen save offline event and provide persistent Token to download video.
Link copied to clipboard
open fun enterFullScreen()
Set support for fullscreen mode of the player.
Link copied to clipboard
open fun exitFullScreen()
Set support to exit form fullscreen mode of the player.
Link copied to clipboard
open fun getResizeMode(): Int
Returns the resize mode.
Link copied to clipboard
Return currently set video stretch mode.
Link copied to clipboard
open fun initialize(initializationListener: PlayerHost.InitializationListener)
Link copied to clipboard
open fun onBackPressed()
Link copied to clipboard
Called when a cast session is available.
Link copied to clipboard
Called when the cast session is not available.
Link copied to clipboard
Link copied to clipboard
open fun onCreate(@Nullable savedInstanceState: Bundle)
Link copied to clipboard
open fun onCreateView(@NonNull inflater: LayoutInflater, @Nullable container: ViewGroup, savedInstanceState: Bundle): View
Link copied to clipboard
open fun onInflate(@NonNull context: Context, @NonNull attrs: AttributeSet, @Nullable savedInstanceState: Bundle)
Link copied to clipboard
open fun onPause()
Link copied to clipboard
open fun onPictureInPictureModeChanged(isInPictureInPictureMode: Boolean)
Link copied to clipboard
open fun onResume()
Link copied to clipboard
open fun onSaveInstanceState(@NonNull outState: Bundle)
Link copied to clipboard
open fun onStart()
Link copied to clipboard
open fun onStop()
Link copied to clipboard
open fun onViewCreated(@NonNull view: View, @Nullable savedInstanceState: Bundle)
Link copied to clipboard
open fun onViewStateRestored(@Nullable savedInstanceState: Bundle)
Link copied to clipboard
open fun setAspectRatio(widthToHeightRatio: Float)
Set aspect ratio for the fragment view.
Link copied to clipboard
Set support to handle back press.
Link copied to clipboard
open fun setFullscreenActionListener(fullScreenActionListener: FullScreenActionListener)
Link copied to clipboard
open fun setPictureInPictureSupport(supportsPictureInPicture: Boolean)
Set support for picture in picture mode.
Link copied to clipboard
open fun setResizeMode(resizeMode: Int)
Sets the resize mode.
Link copied to clipboard
open fun setVideoStretchMode(videoStretchMode: Int)
Set stretch mode for video scaling inside the fragment layout.