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 ACQUIRING: DataTypeAvailability

The DataType is currently acquiring.

AVAILABLE

val AVAILABLE: DataTypeAvailability

The DataType is fully initialized and available.

UNAVAILABLE

val UNAVAILABLE: DataTypeAvailability

The DataType is unavailable because health services cannot acquire it.

UNAVAILABLE_DEVICE_OFF_BODY

val UNAVAILABLE_DEVICE_OFF_BODY: DataTypeAvailability

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

UNKNOWN

val UNKNOWN: DataTypeAvailability

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

open val id: Int

name

Added in 1.0.0
val name: String