Package com.castlabs.sdk.debug.view
Class PlayerSettingsFragment
java.lang.Object
androidx.fragment.app.Fragment
com.castlabs.sdk.debug.view.PlayerSettingsFragment
- All Implemented Interfaces:
ComponentCallbacks
,View.OnCreateContextMenuListener
,androidx.lifecycle.LifecycleOwner
,androidx.lifecycle.ViewModelStoreOwner
,androidx.savedstate.SavedStateRegistryOwner
public class PlayerSettingsFragment
extends androidx.fragment.app.Fragment
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Base interface for settings view to reset themNested classes/interfaces inherited from class androidx.fragment.app.Fragment
androidx.fragment.app.Fragment.InstantiationException, androidx.fragment.app.Fragment.SavedState
-
Field Summary
Modifier and TypeFieldDescriptionstatic final long
static final long
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onCreateView
(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) void
reset()
Reset the config views and load their value from the current preferences or defaultsMethods inherited from class androidx.fragment.app.Fragment
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, onActivityCreated, onActivityResult, onAttach, onAttachFragment, onConfigurationChanged, onContextItemSelected, onCreate, onCreateAnimation, onCreateAnimator, onCreateContextMenu, onCreateOptionsMenu, onDestroy, onDestroyOptionsMenu, onDestroyView, onDetach, onGetLayoutInflater, onHiddenChanged, onInflate, onInflate, onLowMemory, onMultiWindowModeChanged, onOptionsItemSelected, onOptionsMenuClosed, onPause, onPictureInPictureModeChanged, onPrepareOptionsMenu, onPrimaryNavigationFragmentChanged, onRequestPermissionsResult, onResume, onSaveInstanceState, onStart, onStop, onViewCreated, onViewStateRestored, 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
-
Field Details
-
PREFS_STORE_NAME
- See Also:
-
PREFS_KEY_RATELIMIT
- See Also:
-
PREFS_KEY_INITIAL_BANDWIDTH
- See Also:
-
PREFS_KEY_MIN_INCREASE
- See Also:
-
PREFS_KEY_MAX_DECREASE
- See Also:
-
PREFS_KEY_BANDWIDTH_FRACTION
- See Also:
-
PREFS_KEY_DOWNLOAD_TIME_FACTOR
- See Also:
-
PREFS_KEY_RETAIN
- See Also:
-
PREFS_KEY_SAFE_BUFFER
- See Also:
-
PREFS_KEY_ALGO
- See Also:
-
PREFS_KEY_BUFFER_SIZE_BYTES
- See Also:
-
PREFS_KEY_BUFFER_SIZE_MIN_TIME
- See Also:
-
PREFS_KEY_BUFFER_SIZE_MAX_TIME
- See Also:
-
PREFS_DRAIN_WHILE_CHARGING
- See Also:
-
PREFS_TIME_OVER_MEMORY
- See Also:
-
PREFS_MIN_START_BUFFER
- See Also:
-
PREFS_MIN_RESTART_BUFFER
- See Also:
-
PREFS_BACK_BUFFER_DURATION
- See Also:
-
PREFS_CLIP_START
- See Also:
-
PREFS_CLIP_END
- See Also:
-
PREFS_PERCENTILE_WEIGHT
- See Also:
-
PREFS_DEGRADATION_PENALTY
- See Also:
-
PREFS_DEGRADATION_RECOVERY
- See Also:
-
PREFS_DEGRADATION_SAMPLES
- See Also:
-
MIN_RATE_LIMIT_BPS
public static final long MIN_RATE_LIMIT_BPS- See Also:
-
MAX_RATE_LIMIT_BPS
public static final long MAX_RATE_LIMIT_BPS- See Also:
-
-
Constructor Details
-
PlayerSettingsFragment
public PlayerSettingsFragment()
-
-
Method Details
-
onAttach
- Overrides:
onAttach
in classandroidx.fragment.app.Fragment
-
onCreateView
@Nullable public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) - Overrides:
onCreateView
in classandroidx.fragment.app.Fragment
-
reset
public void reset()Reset the config views and load their value from the current preferences or defaults
-