Your app key.
The maximum number of reconnection. The default value is 5.
Whether to enable the receipt of delivery. - true
: Enable; - (Default)false
: Do not enable.
The device ID.
The heartbeat interval(in millisecond). By default, it is 30000 ms.
Whether to use HTTPS only. By default, the browser determines whether to use HTTPS only according to the domain name.
Whether to enable DNS. - (Default)true
: Enable; - false
: Do not enable.
Login user token.
The URL of the specified message server. This command is used when DNS is not enabled. Usually this API is used for specific customers and need to contact account manager to get it.
Whether to use your own upload function, for example, when uploading images and files to your own server.
SDK version.
Registers the listener function.
Closes the connection.
Checks the connection status. - true
: Connected; - (Default)false
: Not connected.
Logs in.
Registers a user.
Removes the listener function.
Updates token.
Sends message.
The URL of the specified REST server. This command is used when DNS is not enabled. Usually this API is used for specific customers and need to contact account manager to get it.