DoorLockTrait.DlStatus

enum DoorLockTrait.DlStatus : Enum, ClusterEnum


Door lock statuses.

Summary

Enum Values

Duplicate

The provided credential is a duplicate of an existing entry.

Failure

The operation failed.

InvalidField

The operation failed due to its referring to an invalid field.

NotFound

The operation failed because the specified resource was not found.

Occupied

The provided User ID, Credential ID, or entry location is already occupied.

ResourceExhausted

The operation failed because a resource has been exhausted.

Success

The operation was successful.

UnknownValue

The enum value is out of range.

Public functions

DoorLockTrait.DlStatus
valueOf(value: String)

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

Array<DoorLockTrait.DlStatus>

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

Duplicate

val DoorLockTrait.DlStatus.DuplicateDoorLockTrait.DlStatus

The provided credential is a duplicate of an existing entry.

Failure

val DoorLockTrait.DlStatus.FailureDoorLockTrait.DlStatus

The operation failed.

InvalidField

val DoorLockTrait.DlStatus.InvalidFieldDoorLockTrait.DlStatus

The operation failed due to its referring to an invalid field.

NotFound

val DoorLockTrait.DlStatus.NotFoundDoorLockTrait.DlStatus

The operation failed because the specified resource was not found.

Occupied

val DoorLockTrait.DlStatus.OccupiedDoorLockTrait.DlStatus

The provided User ID, Credential ID, or entry location is already occupied. The entry might need to be deleted or a different ID or location chosen.

ResourceExhausted

val DoorLockTrait.DlStatus.ResourceExhaustedDoorLockTrait.DlStatus

The operation failed because a resource has been exhausted.

Success

val DoorLockTrait.DlStatus.SuccessDoorLockTrait.DlStatus

The operation was successful.

UnknownValue

val DoorLockTrait.DlStatus.UnknownValueDoorLockTrait.DlStatus

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.

Public functions

valueOf

fun valueOf(value: String): DoorLockTrait.DlStatus

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.DlStatus>

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