Package com.castlabs.sdk.debug.metric

## Class ChunkDownloadTimeMetric

- java.lang.Object
- - com.castlabs.sdk.debug.metric.Metric
  - - com.castlabs.sdk.debug.metric.ChunkDownloadTimeMetric

-     public class ChunkDownloadTimeMetric
      extends Metric

  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

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `static int` | `MODE_AUDIO` |
    `static int` | `MODE_VIDEO` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ChunkDownloadTimeMetric​(int color, com.github.mikephil.charting.components.YAxis.AxisDependency axisDependency, int mode)` |

  - ### Method Summary

    - ### Methods inherited from class com.castlabs.sdk.debug.metric.Metric

      `attach, detach, getDataSet`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### MODE_VIDEO

          public static final int MODE_VIDEO

      See Also:
        Constant Field Values

    - #### MODE_AUDIO

          public static final int MODE_AUDIO

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### ChunkDownloadTimeMetric

          public ChunkDownloadTimeMetric​(int color,
                                         com.github.mikephil.charting.components.YAxis.AxisDependency axisDependency,
                                         int mode)

      Parameters:
        `color` - color that this Metric should be drawn in
        `axisDependency` - to which vertical axis bind the data from this Metric
        `mode` - whether to get the Metric for `MODE_AUDIO` or `MODE_VIDEO`