Package com.castlabs.sdk.debug.metric
Class ChunkDownloadTimeMetric
java.lang.Object
com.castlabs.sdk.debug.metric.Metric
com.castlabs.sdk.debug.metric.ChunkDownloadTimeMetric
Provides a Metric for the chunk download time.
- Since:
- 4.2.0
-
Nested Class Summary
Nested classes/interfaces inherited from class com.castlabs.sdk.debug.metric.Metric
Metric.Plotter
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Mode to display audio chunk download times.static final int
Mode to display video chunk download times. -
Constructor Summary
ConstructorsConstructorDescriptionChunkDownloadTimeMetric
(int color, com.github.mikephil.charting.components.YAxis.AxisDependency axisDependency, int mode) Creates a new ChunkDownloadTimeMetric -
Method Summary
Methods inherited from class com.castlabs.sdk.debug.metric.Metric
attach, detach, getDataSet
-
Field Details
-
MODE_VIDEO
public static final int MODE_VIDEOMode to display video chunk download times.- See Also:
-
MODE_AUDIO
public static final int MODE_AUDIOMode to display audio chunk download times.- See Also:
-
-
Constructor Details
-
ChunkDownloadTimeMetric
public ChunkDownloadTimeMetric(int color, com.github.mikephil.charting.components.YAxis.AxisDependency axisDependency, int mode) Creates a new ChunkDownloadTimeMetric- Parameters:
color
- color that this Metric should be drawn inaxisDependency
- to which vertical axis bind the data from this Metricmode
- whether to get the Metric forMODE_AUDIO
orMODE_VIDEO
-