@ListensFor(events="fragmentSaveInstanceState") public class BrightcovePlayerFragment extends android.app.Fragment
brightcoveVideoView = (BaseVideoView) findViewById(R.id.brightcove_video_view);
Modifier and Type | Field and Description |
---|---|
protected BaseVideoView |
brightcoveVideoView |
static java.lang.String |
TAG |
Constructor and Description |
---|
BrightcovePlayerFragment() |
Modifier and Type | Method and Description |
---|---|
void |
fullScreen()
Expands the BrightcoveVideoView layout parameters to match the parent and hides the ActionBar.
|
BaseVideoView |
getBaseVideoView() |
BrightcoveVideoView |
getBrightcoveVideoView() |
void |
normalScreen()
Returns the BrightcoveVideoView to it's original layout parameters and restores the ActionBar.
|
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 |
onPictureInPictureModeChanged(boolean isInPictureInPictureMode,
android.content.res.Configuration newConfig) |
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, getLoaderManager, getParentFragment, getReenterTransition, getResources, getRetainInstance, getReturnTransition, getSharedElementEnterTransition, getSharedElementReturnTransition, getString, getString, getTag, getTargetFragment, getTargetRequestCode, getText, getUserVisibleHint, getView, hashCode, instantiate, instantiate, isAdded, isDetached, isHidden, isInLayout, isRemoving, isResumed, isStateSaved, isVisible, onActivityResult, onAttach, onAttach, onAttachFragment, onConfigurationChanged, onContextItemSelected, onCreate, onCreateAnimator, onCreateContextMenu, onCreateOptionsMenu, onDestroyOptionsMenu, onGetLayoutInflater, onHiddenChanged, onInflate, onInflate, onInflate, onLowMemory, onMultiWindowModeChanged, onMultiWindowModeChanged, onOptionsItemSelected, onOptionsMenuClosed, onPictureInPictureModeChanged, onPrepareOptionsMenu, onRequestPermissionsResult, onTrimMemory, onViewCreated, postponeEnterTransition, registerForContextMenu, requestPermissions, 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 brightcoveVideoView
public BrightcoveVideoView getBrightcoveVideoView()
public BaseVideoView getBaseVideoView()
public void fullScreen()
public void normalScreen()
public void onActivityCreated(android.os.Bundle savedInstanceState)
onActivityCreated
in class android.app.Fragment
public android.view.View onCreateView(android.view.LayoutInflater inflater, android.view.ViewGroup container, android.os.Bundle savedInstanceState)
onCreateView
in class android.app.Fragment
public void onStart()
onStart
in class android.app.Fragment
public void onPause()
onPause
in class android.app.Fragment
public void onResume()
onResume
in class android.app.Fragment
public void onDestroy()
onDestroy
in class android.app.Fragment
public void onDestroyView()
onDestroyView
in class android.app.Fragment
public void onDetach()
onDetach
in class android.app.Fragment
public void onStop()
onStop
in class android.app.Fragment
public void onSaveInstanceState(android.os.Bundle bundle)
onSaveInstanceState
in class android.app.Fragment
public void onViewStateRestored(android.os.Bundle savedInstanceState)
onViewStateRestored
in class android.app.Fragment
public void onPictureInPictureModeChanged(boolean isInPictureInPictureMode, android.content.res.Configuration newConfig)
onPictureInPictureModeChanged
in class android.app.Fragment