MeasurementWithConfidenceOrBuilder

Functions

Link copied to clipboard
abstract fun getConfidence(): Float
Confidence score for the measurement (0.0 to 1.0) 
float confidence = 4;
Link copied to clipboard
abstract fun getStable(): Boolean
Whether the measurement is considered stable/reliable 
bool stable = 3;
Link copied to clipboard
abstract fun getTime(): Float
Relative time of the measurement in seconds since start of recording (deprecated) 
float time = 1 [deprecated = true];
Link copied to clipboard
abstract fun getTimestamp(): Long
Absolute timestamp at which the measurement was taken, in microseconds, since Linux epoch 
int64 timestamp = 5;
Link copied to clipboard
abstract fun getValue(): Float
The measured value 
float value = 2;