DetectionStatus

class DetectionStatus : GeneratedMessageLite<MessageType, BuilderType> , MetricsProto.DetectionStatusOrBuilder

Represents detection status with timestamp information.
Used to track whether a particular physiological feature or state is detected.
Protobuf type presage.physiology.DetectionStatus

Types

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

Represents detection status with timestamp information.
Used to track whether a particular physiological feature or state is detected.
Protobuf type presage.physiology.DetectionStatus

Properties

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

Functions

Link copied to clipboard
open fun getDetected(): Boolean
Whether the feature/state was detected 
bool detected = 2;
Link copied to clipboard
open fun getStable(): Boolean
Whether the detection is considered stable/reliable 
bool stable = 3;
Link copied to clipboard
open fun getTime(): Float
Relative time of the detection status 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 detection status was updated, in microseconds, since Linux epoch 
int64 timestamp = 4;
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): MetricsProto.DetectionStatus
Link copied to clipboard
open fun parseFrom(data: ByteString): MetricsProto.DetectionStatus
open fun parseFrom(input: CodedInputStream): MetricsProto.DetectionStatus
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): MetricsProto.DetectionStatus
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): MetricsProto.DetectionStatus
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): MetricsProto.DetectionStatus
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): MetricsProto.DetectionStatus
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): MetricsProto.DetectionStatus
Link copied to clipboard