DoorLockTrait.SetCredentialCommand

object DoorLockTrait.SetCredentialCommand : CommandDescriptor


Set a credential into the lock for a new or existing user, or for a programming user.

See also
setCredential

Use this command from the trait(DoorLock) method.

Summary

Nested types

The request payload for the SetCredential command.

Descriptor enum for this command's request fields.

The status for setting the specified credential.

Descriptor enum for this command's request fields.

Public properties

open String

Unique id corresponding to the command.

open String

Human-friendly name of the command.

Public functions

getCommandRequestFieldByName

@HomeExperimentalGenericApi
open fun getCommandRequestFieldByName(name: String): Field?

Public properties

commandId

open val commandIdString

Unique id corresponding to the command.

commandName

open val commandNameString

Human-friendly name of the command.