MeasurementWithConfidence

class MeasurementWithConfidence : GeneratedMessageLite<MessageType, BuilderType> , MetricsProto.MeasurementWithConfidenceOrBuilder

Represents a measurement with an associated confidence score.
Extends basic measurement with confidence information for quality assessment.
Protobuf type presage.physiology.MeasurementWithConfidence

Types

Link copied to clipboard
class Builder : GeneratedMessageLite.Builder<MessageType, BuilderType> , MetricsProto.MeasurementWithConfidenceOrBuilder

Represents a measurement with an associated confidence score.
Extends basic measurement with confidence information for quality assessment.
Protobuf type presage.physiology.MeasurementWithConfidence

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun getConfidence(): Float
Confidence score for the measurement (0.0 to 1.0) 
float confidence = 4;
Link copied to clipboard
open fun getStable(): Boolean
Whether the measurement is considered stable/reliable 
bool stable = 3;
Link copied to clipboard
open fun getTime(): Float
Relative time of the measurement in seconds since start of recording (deprecated) 
float time = 1 [deprecated = true];
Link copied to clipboard
open fun getTimestamp(): Long
Absolute timestamp at which the measurement was taken, in microseconds, since Linux epoch 
int64 timestamp = 5;
Link copied to clipboard
open fun getValue(): Float
The measured value 
float value = 2;
Link copied to clipboard
Link copied to clipboard
open fun parseFrom(input: CodedInputStream): MetricsProto.MeasurementWithConfidence
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): MetricsProto.MeasurementWithConfidence
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): MetricsProto.MeasurementWithConfidence
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): MetricsProto.MeasurementWithConfidence
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): MetricsProto.MeasurementWithConfidence
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): MetricsProto.MeasurementWithConfidence
Link copied to clipboard