Contents

registerClient(with:completion:)

Command RegisterClient

Declaration

func registerClient(with params: MTRICDManagementClusterRegisterClientParams, completion: @escaping  @Sendable (MTRICDManagementClusterRegisterClientResponseParams?, (any Error)?) -> Void)
func registerClient(with params: MTRICDManagementClusterRegisterClientParams) async throws -> MTRICDManagementClusterRegisterClientResponseParams

Discussion

This command allows a client to register itself with the ICD to be notified when the device is available for communication.