Package com.brightcove.player.captioning
Class BrightcoveCaptionPropertiesFragment
java.lang.Object
android.app.Fragment
android.preference.PreferenceFragment
com.brightcove.player.captioning.BrightcoveCaptionPropertiesFragment
- All Implemented Interfaces:
android.content.ComponentCallbacks
,android.content.ComponentCallbacks2
,android.preference.Preference.OnPreferenceChangeListener
,android.view.View.OnCreateContextMenuListener
,ListDialogPreference.OnValueChangedListener
public class BrightcoveCaptionPropertiesFragment
extends android.preference.PreferenceFragment
implements android.preference.Preference.OnPreferenceChangeListener, ListDialogPreference.OnValueChangedListener
A preference screen for users to customize their ~captions experience~
-
Nested Class Summary
Nested classes/interfaces inherited from class android.preference.PreferenceFragment
android.preference.PreferenceFragment.OnPreferenceStartFragmentCallback
Nested classes/interfaces inherited from class android.app.Fragment
android.app.Fragment.InstantiationException, android.app.Fragment.SavedState
-
Field Summary
Fields inherited from interface android.content.ComponentCallbacks2
TRIM_MEMORY_BACKGROUND, TRIM_MEMORY_COMPLETE, TRIM_MEMORY_MODERATE, TRIM_MEMORY_RUNNING_CRITICAL, TRIM_MEMORY_RUNNING_LOW, TRIM_MEMORY_RUNNING_MODERATE, TRIM_MEMORY_UI_HIDDEN
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onActivityCreated
(android.os.Bundle savedInstanceState) void
onCreate
(android.os.Bundle bundle) android.view.View
onCreateView
(android.view.LayoutInflater inflater, android.view.ViewGroup container, android.os.Bundle savedInstanceState) void
boolean
onPreferenceChange
(android.preference.Preference preference, Object newValue) Listens for changes to the Preference objects and updates them as necessary.void
onResume()
void
onValueChanged
(ListDialogPreference preference, int value) Listens for changes to the Preference objects and updates them as necessary.void
onViewCreated
(android.view.View view, android.os.Bundle savedInstanceState) Methods inherited from class android.preference.PreferenceFragment
addPreferencesFromIntent, addPreferencesFromResource, findPreference, getPreferenceManager, getPreferenceScreen, onActivityResult, onDestroy, onPreferenceTreeClick, onSaveInstanceState, onStart, onStop, setPreferenceScreen
Methods inherited from class android.app.Fragment
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, onAttach, onAttach, onAttachFragment, onConfigurationChanged, onContextItemSelected, onCreateAnimator, onCreateContextMenu, onCreateOptionsMenu, onDestroyOptionsMenu, onDetach, onGetLayoutInflater, onHiddenChanged, onInflate, onInflate, onInflate, onLowMemory, onMultiWindowModeChanged, onMultiWindowModeChanged, onOptionsItemSelected, onOptionsMenuClosed, onPause, onPictureInPictureModeChanged, onPictureInPictureModeChanged, onPrepareOptionsMenu, onRequestPermissionsResult, onTrimMemory, onViewStateRestored, 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
-
Field Details
-
TAG
-
-
Constructor Details
-
BrightcoveCaptionPropertiesFragment
public BrightcoveCaptionPropertiesFragment()
-
-
Method Details
-
onCreate
public void onCreate(android.os.Bundle bundle) - Overrides:
onCreate
in classandroid.preference.PreferenceFragment
-
onCreateView
public android.view.View onCreateView(android.view.LayoutInflater inflater, android.view.ViewGroup container, android.os.Bundle savedInstanceState) - Overrides:
onCreateView
in classandroid.preference.PreferenceFragment
-
onViewCreated
public void onViewCreated(android.view.View view, android.os.Bundle savedInstanceState) - Overrides:
onViewCreated
in classandroid.preference.PreferenceFragment
-
onActivityCreated
public void onActivityCreated(android.os.Bundle savedInstanceState) - Overrides:
onActivityCreated
in classandroid.preference.PreferenceFragment
-
onResume
public void onResume()- Overrides:
onResume
in classandroid.app.Fragment
-
onDestroyView
public void onDestroyView()- Overrides:
onDestroyView
in classandroid.preference.PreferenceFragment
-
onPreferenceChange
Listens for changes to the Preference objects and updates them as necessary.- Specified by:
onPreferenceChange
in interfaceandroid.preference.Preference.OnPreferenceChangeListener
-