DoorLockTrait.OperatingModeEnum

enum DoorLockTrait.OperatingModeEnum : Enum, ClusterEnum


Operating modes.

Summary

Enum Values

NoRemoteLockUnlock

This mode only disables remote interaction with the lock.

Normal

The lock operates normally.

Passage

The lock is open or can be opened or closed at will without the use of a keypad or other means of user validation, for example, a lock for a business during work hours.

Privacy

This mode is only possible if the door is locked.

UnknownValue

The enum value is out of range.

Vacation

Only remote interaction is enabled.

Public functions

DoorLockTrait.OperatingModeEnum
valueOf(value: String)

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

Array<DoorLockTrait.OperatingModeEnum>

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

Public properties

open String
open String
open ULong

Enum Values

NoRemoteLockUnlock

val DoorLockTrait.OperatingModeEnum.NoRemoteLockUnlockDoorLockTrait.OperatingModeEnum

This mode only disables remote interaction with the lock. This does not apply to any remote proprietary means of communication. It specifically applies to the Lock, Unlock, Toggle, and Unlock with Timeout commands.

Normal

val DoorLockTrait.OperatingModeEnum.NormalDoorLockTrait.OperatingModeEnum

The lock operates normally. All interfaces are enabled.

Passage

val DoorLockTrait.OperatingModeEnum.PassageDoorLockTrait.OperatingModeEnum

The lock is open or can be opened or closed at will without the use of a keypad or other means of user validation, for example, a lock for a business during work hours.

Privacy

val DoorLockTrait.OperatingModeEnum.PrivacyDoorLockTrait.OperatingModeEnum

This mode is only possible if the door is locked. Manual unlocking changes the mode to Normal operating mode. All external interaction with the door lock is disabled. This mode is intended to be used so that users, presumably inside the property, will have control over the entrance.

UnknownValue

val DoorLockTrait.OperatingModeEnum.UnknownValueDoorLockTrait.OperatingModeEnum

The enum value is out of range. For example, a newer Matter cluster definition may support enum values not yet supported by the Home APIs.

Vacation

val DoorLockTrait.OperatingModeEnum.VacationDoorLockTrait.OperatingModeEnum

Only remote interaction is enabled.

Public functions

valueOf

fun valueOf(value: String): DoorLockTrait.OperatingModeEnum

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<DoorLockTrait.OperatingModeEnum>

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

traitId

open val traitIdString

typeName

open val typeNameString

value

open val valueULong