IPWorks IoT 2020 Kotlin Edition

Questions / Feedback?

ClientId Property

A string that uniquely identifies this instance of the component to the server.

Syntax

public var clientId: String?

Default Value

""

Remarks

The ClientId string is used by the server to uniquely identify each client that is connected to it.

If ClientId is empty when Connect is called, the component's behavior depends on value of CleanSession. If CleanSession is True, the component will automatically generate a unique value for ClientId before connecting. If CleanSession is False, the component throws an exception.

This property is not available at design time.

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks IoT 2020 Kotlin Edition - Version 20.0 [Build 7941]