setCredentialWith(_:completionHandler:)
Declaration
func setCredentialWith(_ params: MTRDoorLockClusterSetCredentialParams, completionHandler: @escaping @Sendable (MTRDoorLockClusterSetCredentialResponseParams?, (any Error)?) -> Void)func setCredentialWith(_ params: MTRDoorLockClusterSetCredentialParams) async throws -> MTRDoorLockClusterSetCredentialResponseParams