This page provides information about the limitations of the Agora RTM Java SDK for Android.

Call Frequency

Function Method Call Frequency
Logs in the RTM system login Two queries per second
Sends messages
  • sendMessageToPeer
  • sendMessageToPeer
  • And sendMessage taken together
  • 60 queries per second
    Retrieves a member list of the channel getMembers Five queries every two seconds
    Renews the token RtmClient.renewToken Two queries per second
    Queries the online status of the specified user(s) queryPeersOnlineStatus Ten queries every five seconds.
    Sets user attributes
  • setLocalUserAttributes
  • addOrUpdateLocalUserAttributes
  • deleteLocalUserAttributesByKeys
  • And clearLocalUserAttributes taken together
  • 10 queries every five seconds
    Gets user attributes
  • getUserAttributes
  • And getUserAttributesByKeys taken together
  • 40 queries every five seconds

    String Length


    Supports channel and peer-to-peer messages, invitation content, and invitation response in UTF-8 only.


    • Notifications of a member joining or leaving the channel are automatically disabled when the number of channel members exceeds 512. If you have special requirements, contact
    • The current version supports querying the online status of a maximum of 256 users.
    • Attribute settings in one attribute operation should not exceed 32 KB in size, and the number of key/value pairs you set in one attribute operation should not exceed 32.