AreaPresenceStateTrait.PresenceState

enum AreaPresenceStateTrait.PresenceState : Enum, PlatformEnum


Area Presence State (representing Home/Away status of the structure).

Summary

Enum Values

PresenceStateOccupied

Someone is at home.

PresenceStateUnspecified

Unspecified

PresenceStateVacant

Nobody at home.

UnknownValue

When encountering fields that are out of range (e.g due to newer schema), this value is emitted.

Public functions

AreaPresenceStateTrait.PresenceState
valueOf(value: String)

Returns the enum constant of this type with the specified name.

Array<AreaPresenceStateTrait.PresenceState>

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

Public properties

open ULong
open String
open String
open String

Enum Values

UnknownValue

val AreaPresenceStateTrait.PresenceState.UnknownValueAreaPresenceStateTrait.PresenceState

When encountering fields that are out of range (e.g due to newer schema), this value is emitted.

Public companion properties

Public functions

valueOf

fun valueOf(value: String): AreaPresenceStateTrait.PresenceState

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
kotlin.IllegalArgumentException

if this enum type has no constant with the specified name

values

fun values(): Array<AreaPresenceStateTrait.PresenceState>

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

This method may be used to iterate over the constants.

Public properties

id

open val idULong

traitId

open val traitIdString

typeName

open val typeNameString

value

open val valueString