Methods of the ClientInfo Class
The methods of the ClientInfo class are used to set basic information for interworking with the IoT platform. The following describes the main methods (excluding the get method):
Method |
Description |
---|---|
public void setPlatformIp(String platformIp) |
Sets the IP address of the IoT platform. |
public void setPlatformPort(String platformPort) |
Sets the port number of the IoT platform, for example, 8743. |
public void setAppId(String appId) |
Sets the application ID. The application ID is an identity allocated by the IoT platform to a third-party application, and is used to uniquely identify an application. |
public void setSecret(String secret) |
Sets the secret of the application. The secret indicates the password for the application ID on the IoT platform. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot