HealthEvent.Type


public final class HealthEvent.Type


Health event types.

Summary

Public fields

static final @NonNull HealthEvent.Type

Health Event signifying the device detected that the user fell.

static final @NonNull HealthEvent.Type

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

Public methods

boolean
equals(Object other)
final int

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

final @NonNull String

Returns a human readable name to represent this Type.

int
@NonNull String

Public fields

FALL_DETECTED

public static final @NonNull HealthEvent.Type FALL_DETECTED

Health Event signifying the device detected that the user fell.

UNKNOWN

public static final @NonNull HealthEvent.Type UNKNOWN

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

Public methods

equals

public boolean equals(Object other)

getId

Added in 1.0.0
public final int getId()

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

getName

Added in 1.0.0
public final @NonNull String getName()

Returns a human readable name to represent this Type.

hashCode

public int hashCode()

toString

public @NonNull String toString()