Install the SDK

compile 'com.comapi:foundation:1.3.0'
<dependency>
    <groupId>com.comapi</groupId>
    <artifactId>foundation</artifactId>
    <version>1.3.0</version>
</dependency>

Then

  • Initialise the SDK with your API Space ID and authentication token provider.
  • Start a session when you obtain a token from your authentication provider.
  • Listen for real-time events and push messages.
  • Call message and profile services.