Skip to main content

LockState

Enum Class: LockState

Represents vehicle door LOCK/UNLOCK current state

Lock States

LOCKED

LOCKED

When the vehicle door is locked

UNLOCKED

UNLOCKED

When the vehicle door is unlocked

UNKNOWN

UNKNOWN

When current state is unknown or has not received yet by the BLE. In case of that we need to refresh the state

Functions

valueOf(value: String): LockState

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws IllegalArgumentException if this enum type has no constant with the specified name

values(): Array<LockState>

Returns an array containing the constants of this enum type, in the order they're declared.

See Also