Signaling (previously RTM) SDK v1.5.0 API Reference for Android
Static Public Attributes | List of all members
io.agora.rtm.PeerOnlineState Class Reference

Static Public Attributes

static final int  ONLINE = 0
 
static final int  UNREACHABLE = 1
 
static final int  OFFLINE = 2
 

Detailed Description

The online states of a peer.

Member Data Documentation

◆ ONLINE

final int io.agora.rtm.PeerOnlineState.ONLINE = 0
static

0: The peer is online (the SDK has logged in the Agora RTM system).

◆ UNREACHABLE

final int io.agora.rtm.PeerOnlineState.UNREACHABLE = 1
static

1: The peer is temporarily unreachable (the server has not received a packet from the SDK for more than six seconds).

◆ OFFLINE

final int io.agora.rtm.PeerOnlineState.OFFLINE = 2
static

2: The peer is offline (the SDK has not logged in the Agora RTM system, or it has logged out of the system, or the server has not received a packet from the SDK for more than 30 seconds).