Measurement

class Measurement : GeneratedMessageLite<MessageType, BuilderType> , MetricsProto.MeasurementOrBuilder

Represents a single measurement with timestamp and stability information.
Used for various physiological measurements throughout the system.
Protobuf type presage.physiology.Measurement

Types

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

Represents a single measurement with timestamp and stability information.
Used for various physiological measurements throughout the system.
Protobuf type presage.physiology.Measurement

Properties

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

Functions

Link copied to clipboard
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 = 4;
Link copied to clipboard
open fun getValue(): Float
The measured or estimated value 
float value = 2;
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): MetricsProto.Measurement
Link copied to clipboard
open fun parseFrom(data: ByteString): MetricsProto.Measurement
open fun parseFrom(input: CodedInputStream): MetricsProto.Measurement
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): MetricsProto.Measurement
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): MetricsProto.Measurement
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): MetricsProto.Measurement
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): MetricsProto.Measurement
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): MetricsProto.Measurement
Link copied to clipboard
open fun parser(): Parser<MetricsProto.Measurement>