UserActivityState


class UserActivityState


Types of user activity states.

Summary

Public companion properties

UserActivityState

The user is asleep.

UserActivityState

The user is currently exercising.

UserActivityState

The user is awake but is not currently exercising.

UserActivityState

The current activity state cannot be determined, or it is a new state that this library version is too old to recognize.

Public constructors

Public functions

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

Public properties

Int
String

Public companion properties

USER_ACTIVITY_ASLEEP

val USER_ACTIVITY_ASLEEPUserActivityState

The user is asleep.

USER_ACTIVITY_EXERCISE

val USER_ACTIVITY_EXERCISEUserActivityState

The user is currently exercising.

USER_ACTIVITY_PASSIVE

val USER_ACTIVITY_PASSIVEUserActivityState

The user is awake but is not currently exercising.

USER_ACTIVITY_UNKNOWN

val USER_ACTIVITY_UNKNOWNUserActivityState

The current activity state cannot be determined, or it is a new state that this library version is too old to recognize.

Public constructors

UserActivityState

Added in 1.0.0
UserActivityState(id: Int, name: String)

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

name

Added in 1.0.0
val nameString