AccountLoginTrait.GetSetupPinCommand.Response

class AccountLoginTrait.GetSetupPinCommand.Response : ClusterStruct


Contains the setup PIN.

Summary

Nested types

Descriptor enum for this command's request fields.

Public constructors

Response(setupPin: String)

Creates a response payload from the GetSetupPin 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

String

The setup PIN, or null if the content app user account doesn't match the commissionee user account.

Public constructors

Response

Response(setupPin: String = "")

Creates a response payload from the GetSetupPin 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

setupPin

val setupPinString

The setup PIN, or null if the content app user account doesn't match the commissionee user account.