HealthEvent.Type


class HealthEvent.Type


Health event types.

Summary

Public companion properties

HealthEvent.Type

Health Event signifying the device detected that the user fell.

HealthEvent.Type

The Health Event 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

Int

Returns a unique identifier for the Type, as an int.

String

Returns a human readable name to represent this Type.

Public companion properties

FALL_DETECTED

val FALL_DETECTEDHealthEvent.Type

Health Event signifying the device detected that the user fell.

UNKNOWN

val UNKNOWNHealthEvent.Type

The Health Event 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.0.0
val idInt

Returns a unique identifier for the Type, as an int.

name

Added in 1.0.0
val nameString

Returns a human readable name to represent this Type.