Package com.castlabs.sdk.debug.metric
Interface Metric.Plotter
-
- All Known Implementing Classes:
PlayerMetricChart
- Enclosing class:
- Metric
public static interface Metric.Plotter
Represents an object that can plot a metric.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getMaximumDataAgeMs()
Maximum time data should be kept.void
requestPlot(Metric metric)
The metric needs to be redrawn.
-
-
-
Method Detail
-
requestPlot
void requestPlot(Metric metric)
The metric needs to be redrawn. Probably due to data change- Parameters:
metric
- Metric to draw
-
getMaximumDataAgeMs
long getMaximumDataAgeMs()
Maximum time data should be kept. Used to remove old data points.- Returns:
- time data should be kept
-
-