This enumeration describes different access levels a topic can have. Write access is required to publish to a topic. Read access is required to subscribe to a topic.
Users are only permitted to receive a message on the topic.
Users are allowed to publish a message on the topic.
Users can receive and publish messages on the topic.
This enumeration describes different filters used to fetch topics.
Used to fetch all the topics regardless of access level.
Used to fetch the topics with Read access.
Used to fetch the topics with Write access.
Used to fetch the topics with ReadWrite access.
This enumeration describes different connection statuses between the SDK and the Real-Time Messaging server.
No connection attempt has been made.
The SDK is attempting to establish a connection to the Real-Time Messaging server.
The SDK is connected and allows you to publish and receive messages.
The connection is refused by the server.
The SDK is disconnected from the Real-Time Messaging server.
A connection error has occurred.
This enumeration describes different error codes of the SDK.
Returned when trying to access a feature without initializing the SDK.
Returned when trying to initialize the SDK when it is already initialized.
Returned when the connection is already established.
Returned when trying to access a feature without registering a user.
Returned when trying to access a feature that is not supported by the app.
Returned when a required parameter is not passed or an invalid value has been passed to a method.
Returned when access is not granted to a permission that is required for operation.
Returned when trying to communicate with the RTM server without establishing a connection.
Returned when a connection is failed between the SDK and RTM server.
Returned when a publication of an RTM message has failed.
Returned when a subscription to an RTM topic has failed.
Returned when trying to unsubscribe from an RTM topic has failed.
Returned when an unknown error occurs.
DeviceIdCurrentlyNotRegistered (code 6006)
Returned when the device ID is currently not registered.
DuplicateRegisterListener (code 6026)
Duplicate register listener.
InvalidToken (code 6027)
InvalidAuthorizationRequest (code 6028)
Invalid authorization request.
TokenExpired (code 6029)
Token has expired.
TokenRequired (code 6030)
Token is required.
This enumeration describes different connection statuses and their respective error codes.
Specifies the value passed in the UserId parameter in DeviceProfileParam.
Specifies the value passed in the CustomerId parameter in DeviceProfileParam.
The message is a standard RTM.
The message data is ReadReceipt. Only TransactionId is available and can be used to match receipt to the original message.
The message is a notification.
The message is a republish of a MO, all data available in the original message is available.
Updated over 1 year ago