Error codes returned by
setRtmServiceContext
.
◆ 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.