Package com.castlabs.sdk.debug.metric

# Class BufferAheadMetric

java.lang.Object
com.castlabs.sdk.debug.metric.Metric
com.castlabs.sdk.debug.metric.BufferAheadMetric

public class BufferAheadMetric extends Metric
Provides a Metric of the Buffer time ahead of the current player position.

Since:
  4.2.0

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class com.castlabs.sdk.debug.metric.Metric

  `Metric.Plotter`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `BufferAheadMetric(int color, com.github.mikephil.charting.components.YAxis.AxisDependency axisDependency)`
  Creates a new BufferAheadMetric

- ## 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`

- ## Constructor Details

  - ### BufferAheadMetric

    public BufferAheadMetric(int color, com.github.mikephil.charting.components.YAxis.AxisDependency axisDependency)
    Creates a new BufferAheadMetric
    Parameters:
      `color` - color that this Metric should be drawn in
      `axisDependency` - to which vertical axis bind the data from this Metric