Updated on 2022-02-24 GMT+08:00

Methods of the ClientInfo Class

The methods of the ClientInfo class are used to set the basic information about the interconnection. The following describes the main methods:

Method

Description

platformIp

Indicates the IP address of the IoT platform.

platformPort

Indicates the port number of the IoT platform, for example, 8743.

appId

Identifies an authorized application. This parameter is set to the ID allocated by the IoT platform for the partner's server.

accessToken

This parameter is set to the value of the access token obtained by calling the Authentication API