Your App Key.
The maximum number of reconnection attempts allowed. The default value is 5
.
Whether to enable the receipt of delivery. - true
: Enable; - (Default)false
: Disable.
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
: Disable.
The user token for login.
The URL of the specified message server. Usually, this URL is used by specific customers who expects to implement data isolation for strict data security. To get the URL, contact our account manager.
Whether to use your own upload function, for example, when uploading images and files to your own server.
The SDK version.
Registers the listener function.
Closes the connection.
Download and parse the merged message.
Checks the connection status. - true
: Connected; - (Default)false
: Disconnected.
Logs in.
Registers a user.
Removes the listener function.
Updates the token.
Sends message.
Generated using TypeDoc
The URL of the specified REST server. The URL is used when DNS is not enabled. Usually, this URL is used by specific customers who expects to implement data isolation for strict data security. To get the URL, contact our account manager.