Documentation
Real-time Messaging
API Reference
Agora RTM Java API Reference for Linux
Agora RTM Java API Reference for Android
◆ PEER_MESSAGE_ERR_OK
int io.agora.rtm.RtmStatusCode.PeerMessageError.PEER_MESSAGE_ERR_OK = 0 |
0: The user has successfully sent the peer-to-peer message.
◆ PEER_MESSAGE_ERR_FAILURE
int io.agora.rtm.RtmStatusCode.PeerMessageError.PEER_MESSAGE_ERR_FAILURE = 1 |
1: The sender fails to send the peer-to-peer message.
◆ PEER_MESSAGE_ERR_TIMEOUT
int io.agora.rtm.RtmStatusCode.PeerMessageError.PEER_MESSAGE_ERR_TIMEOUT = 2 |
2: A timeout occurs when sending the peer-to-peer message. The current peer-message timeout is set as five seconds.
◆ PEER_MESSAGE_ERR_PEER_UNREACHABLE
int io.agora.rtm.RtmStatusCode.PeerMessageError.PEER_MESSAGE_ERR_PEER_UNREACHABLE = 3 |
3: The user is offline and has not received the peer-to-peer message.