Package com.castlabs.sdk.debug.view
Class PlayerStatsFragment
java.lang.Object
androidx.fragment.app.Fragment
com.castlabs.sdk.debug.view.AbstractSingleListFragment<com.castlabs.sdk.debug.view.PlayerStatsFragment.Metric>
com.castlabs.sdk.debug.view.PlayerStatsFragment
- All Implemented Interfaces:
ComponentCallbacks
,View.OnCreateContextMenuListener
,androidx.lifecycle.LifecycleOwner
,androidx.lifecycle.ViewModelStoreOwner
,androidx.savedstate.SavedStateRegistryOwner
,ExtendedPlayerViewProvider.Listener
public class PlayerStatsFragment
extends AbstractSingleListFragment<com.castlabs.sdk.debug.view.PlayerStatsFragment.Metric>
Fragment that shows statistics about the current playback session
Note that activities using this Fragment must implement ExtendedPlayerViewProvider
.
-
Nested Class Summary
Nested 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 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
Methods inherited from class com.castlabs.sdk.debug.view.AbstractSingleListFragment
onCreateView, onReload
Methods 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, 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, 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
-
QOE_SCORE
- See Also:
-
ABR_SWITCHES
- See Also:
-
BUFFER_TIME
- See Also:
-
BUFFER_SIZE
- See Also:
-
LAST_BUFFER_TIME
- See Also:
-
SEEKING_TIME
- See Also:
-
BUFFERING_TIME
- See Also:
-
STATE
- See Also:
-
VIDEO_CODEC
- See Also:
-
VIDEO_CODEC_INIT
- See Also:
-
UNDERRUNS
- See Also:
-
START_TIME
- See Also:
-
REBUFFER_PERCENTAGE
- See Also:
-
AVG_BITRATE
- See Also:
-
AVG_BITRATE_SWITCH_MAGNITUDE
- See Also:
-
SCORE_BITRATE
- See Also:
-
SCORE_REBUFFER
- See Also:
-
SCORE_SWITCH
- See Also:
-
SCORE_MAGNITUDE
- See Also:
-
-
Constructor Details
-
PlayerStatsFragment
public PlayerStatsFragment()
-
-
Method Details
-
onStart
public void onStart()- Overrides:
onStart
in classAbstractSingleListFragment<com.castlabs.sdk.debug.view.PlayerStatsFragment.Metric>
-
onStop
public void onStop()- Overrides:
onStop
in classandroidx.fragment.app.Fragment
-