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
Modifier and TypeMethodDescriptionlong
Maximum time data should be kept.void
requestPlot
(Metric metric) The metric needs to be redrawn.
-
Method Details
-
requestPlot
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
-