DataTypeAvailability

class DataTypeAvailability : Availability


Availability of a DataType.

Summary

Public companion functions

DataTypeAvailability?
fromId(id: Int)

Public companion properties

DataTypeAvailability

The DataType is currently acquiring.

DataTypeAvailability

The DataType is fully initialized and available.

DataTypeAvailability

The DataType is unavailable because health services cannot acquire it.

DataTypeAvailability

The DataType is not available because the device is currently off-body.

DataTypeAvailability

The availability is unknown, or is represented by a value too new for this library version to parse.

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

open Int
String

Public companion functions

fromId

Added in 1.0.0
fun fromId(id: Int): DataTypeAvailability?

Public companion properties

ACQUIRING

val ACQUIRINGDataTypeAvailability

The DataType is currently acquiring.

AVAILABLE

val AVAILABLEDataTypeAvailability

The DataType is fully initialized and available.

UNAVAILABLE

val UNAVAILABLEDataTypeAvailability

The DataType is unavailable because health services cannot acquire it.

UNAVAILABLE_DEVICE_OFF_BODY

val UNAVAILABLE_DEVICE_OFF_BODYDataTypeAvailability

The DataType is not available because the device is currently off-body.

UNKNOWN

val UNKNOWNDataTypeAvailability

The availability is unknown, or is represented by a value too new for this library version to parse.

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

id

Added in 1.1.0-alpha02
open val idInt

name

Added in 1.0.0
val nameString