Package com.castlabs.sdk.debug.metric

# Class RateLimitMetric

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

public class RateLimitMetric extends Metric
Provides a Metric of the current download plugin rate limit if enabled

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
  `RateLimitMetric(int color, com.github.mikephil.charting.components.YAxis.AxisDependency axisDependency)`
  Creates a new instance of RateLimitMetric with the specified color and axis dependency.

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

  - ### RateLimitMetric

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