SensorState

data class SensorState

Information about wristband current state:

  • is wristband on the hand;

  • battery level;

  • is wristband charging.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@get:JvmName(name = "isCharging")
val isCharging: Boolean

Is wristband on charger

Link copied to clipboard
@get:JvmName(name = "isOnHand")
val isOnHand: Boolean

Returns true if wristband on the hand and false otherwise.

Link copied to clipboard

UNIX-timestamp of measurement

Functions

Link copied to clipboard

Returns battery level.