Signaling (previously RTM) SDK v1.5.0 API Reference for Linux (Java)
Public Attributes | List of all members
io.agora.rtm.RtmStatusCode.SetRtmServiceContextError Interface Reference

Public Attributes

int  SET_RTM_SERVICE_CONTEXT_ERR_OK = 0
 
int  SET_RTM_SERVICE_CONTEXT_ERR_FAILURE = 1
 

Detailed Description

Error codes returned by setRtmServiceContext .

Member Data Documentation

◆ SET_RTM_SERVICE_CONTEXT_ERR_OK

int io.agora.rtm.RtmStatusCode.SetRtmServiceContextError.SET_RTM_SERVICE_CONTEXT_ERR_OK = 0

0: Successfully configured the context for the Agora RTM service.

◆ SET_RTM_SERVICE_CONTEXT_ERR_FAILURE

int io.agora.rtm.RtmStatusCode.SetRtmServiceContextError.SET_RTM_SERVICE_CONTEXT_ERR_FAILURE = 1

1: Failed to configure the context for the Agora RTM service because at least one RtmClient instance already exists. Call release to destroy any existing RtmClient instance before configuring the context for the Agora RTM service.