BrightcovePlayerFragment

A Fragment with basic life cycle and full screen support. The onCreateView() should be extended to wire up the activity's layout to the brightcoveVideoView instance variable before calling super.onCreateView(). For example:

brightcoveVideoView = (BaseVideoView) findViewById(R.id.brightcove_video_view);

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val TAG: String

Functions

Link copied to clipboard
open fun fullScreen()
Expands the BrightcoveVideoView layout parameters to match the parent and hides the ActionBar.
Link copied to clipboard
Link copied to clipboard
open fun normalScreen()
Returns the BrightcoveVideoView to it's original layout parameters and restores the ActionBar.
Link copied to clipboard
open fun onActivityCreated(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 onPictureInPictureModeChanged(isInPictureInPictureMode: Boolean, newConfig: Configuration)
Link copied to clipboard
open fun onResume()
Link copied to clipboard
open fun onSaveInstanceState(bundle: Bundle)
Link copied to clipboard
open fun onStart()
Link copied to clipboard
open fun onStop()
Link copied to clipboard
open fun onViewStateRestored(savedInstanceState: Bundle)