DoorLockTrait.ClearUserCommand.Request

class DoorLockTrait.ClearUserCommand.Request : ClusterStruct


The request payload for the ClearUser command.

Summary

Nested types

Descriptor enum for this command's request fields.

Public constructors

Request(userIndex: UShort)

Creates a request payload for the ClearUser command.

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

Returns the value of the field for the given tag ID.

Public properties

UShort

The unique identifier for the user to clear.

Public constructors

Request

Request(userIndex: UShort)

Creates a request payload for the ClearUser command.

Public functions

getDescriptor

@HomeExperimentalApi
open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

@HomeExperimentalApi
open fun getFieldValueById(tagId: UInt): Any?

Returns the value of the field for the given tag ID.

Public properties

userIndex

val userIndexUShort

The unique identifier for the user to clear. 0xFFFE clears all users.