Checking if a Topic Exists
You can check if a certain topic already exists from your mobile application.
The following example checks if the specified topic already exist in an application scope (you can similarly check the topic existence in a user and group scopes).
Here is a description of the sample code:
- Instantiates a topic.
- Calls the
checkIfExistsSynchronous: method to see if the topic is exist or not.