public class BrightcovePlayerFragment
extends androidx.fragment.app.Fragment
baseVideoView = (BaseVideoView) findViewById(R.id.brightcove_video_view);
Modifier and Type | Field and Description |
---|---|
protected BaseVideoView |
baseVideoView |
static java.lang.String |
TAG |
Constructor and Description |
---|
BrightcovePlayerFragment() |
Modifier and Type | Method and Description |
---|---|
void |
enterFullScreen()
Expands the BrightcoveVideoView layout parameters to match the parent and hides the ActionBar.
|
void |
exitFullScreen()
Returns the BrightcoveVideoView to it's original layout parameters and restores the ActionBar.
|
BaseVideoView |
getBaseVideoView() |
EventLogger |
getEventLogger() |
void |
onActivityCreated(android.os.Bundle savedInstanceState) |
android.view.View |
onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState) |
void |
onDestroy() |
void |
onDestroyView() |
void |
onDetach() |
void |
onPause() |
void |
onResume() |
void |
onSaveInstanceState(android.os.Bundle bundle) |
void |
onStart() |
void |
onStop() |
void |
onViewStateRestored(android.os.Bundle savedInstanceState) |
dump, equals, getActivity, getAllowEnterTransitionOverlap, getAllowReturnTransitionOverlap, getArguments, getChildFragmentManager, getContext, getEnterTransition, getExitTransition, getFragmentManager, getHost, getId, getLayoutInflater, getLayoutInflater, getLifecycle, getLoaderManager, getParentFragment, getReenterTransition, getResources, getRetainInstance, getReturnTransition, getSavedStateRegistry, getSharedElementEnterTransition, getSharedElementReturnTransition, getString, getString, getTag, getTargetFragment, getTargetRequestCode, getText, getUserVisibleHint, getView, getViewLifecycleOwner, getViewLifecycleOwnerLiveData, getViewModelStore, hashCode, hasOptionsMenu, instantiate, instantiate, isAdded, isDetached, isHidden, isInLayout, isMenuVisible, isRemoving, isResumed, isStateSaved, isVisible, onActivityResult, onAttach, onAttach, onAttachFragment, onConfigurationChanged, onContextItemSelected, onCreate, onCreateAnimation, onCreateAnimator, onCreateContextMenu, onCreateOptionsMenu, onDestroyOptionsMenu, onGetLayoutInflater, onHiddenChanged, onInflate, onInflate, onLowMemory, onMultiWindowModeChanged, onOptionsItemSelected, onOptionsMenuClosed, onPictureInPictureModeChanged, onPrepareOptionsMenu, onPrimaryNavigationFragmentChanged, onRequestPermissionsResult, onViewCreated, postponeEnterTransition, postponeEnterTransition, registerForContextMenu, requestPermissions, requireActivity, requireArguments, requireContext, requireFragmentManager, requireHost, requireParentFragment, requireView, setAllowEnterTransitionOverlap, setAllowReturnTransitionOverlap, setArguments, setEnterSharedElementCallback, setEnterTransition, setExitSharedElementCallback, setExitTransition, setHasOptionsMenu, setInitialSavedState, setMenuVisibility, setReenterTransition, setRetainInstance, setReturnTransition, setSharedElementEnterTransition, setSharedElementReturnTransition, setTargetFragment, setUserVisibleHint, shouldShowRequestPermissionRationale, startActivity, startActivity, startActivityForResult, startActivityForResult, startIntentSenderForResult, startPostponedEnterTransition, toString, unregisterForContextMenu
public static final java.lang.String TAG
protected BaseVideoView baseVideoView
public BaseVideoView getBaseVideoView()
public void enterFullScreen()
public void exitFullScreen()
public EventLogger getEventLogger()
public void onActivityCreated(android.os.Bundle savedInstanceState)
onActivityCreated
in class androidx.fragment.app.Fragment
public android.view.View onCreateView(android.view.LayoutInflater inflater, android.view.ViewGroup container, android.os.Bundle savedInstanceState)
onCreateView
in class androidx.fragment.app.Fragment
public void onStart()
onStart
in class androidx.fragment.app.Fragment
public void onPause()
onPause
in class androidx.fragment.app.Fragment
public void onResume()
onResume
in class androidx.fragment.app.Fragment
public void onDestroy()
onDestroy
in class androidx.fragment.app.Fragment
public void onDestroyView()
onDestroyView
in class androidx.fragment.app.Fragment
public void onDetach()
onDetach
in class androidx.fragment.app.Fragment
public void onStop()
onStop
in class androidx.fragment.app.Fragment
public void onSaveInstanceState(android.os.Bundle bundle)
onSaveInstanceState
in class androidx.fragment.app.Fragment
public void onViewStateRestored(android.os.Bundle savedInstanceState)
onViewStateRestored
in class androidx.fragment.app.Fragment