Agora Java API Reference for Android
Static Public Member Functions | Public Attributes | List of all members
io.agora.rtm2.RtmConstants.RtmPresenceType Enum Reference

Static Public Member Functions

static int getValue (RtmPresenceType type)
 

Public Attributes

 RTM_PRESENCE_TYPE_REMOTE_JOIN_CHANNEL =(0)
 
 RTM_PRESENCE_TYPE_REMOTE_LEAVE_CHANNEL =(1)
 
 RTM_PRESENCE_TYPE_REMOTE_CONNECTION_TIMEOUT =(2)
 
 RTM_PRESENCE_TYPE_REMOTE_JOIN_TOPIC =(3)
 
 RTM_PRESENCE_TYPE_REMOTE_LEAVE_TOPIC =(4)
 
 RTM_PRESENCE_TYPE_SELF_JOIN_CHANNEL =(5)
 

Detailed Description

RTM presence type.

Member Data Documentation

◆ RTM_PRESENCE_TYPE_REMOTE_JOIN_CHANNEL

io.agora.rtm2.RtmConstants.RtmPresenceType.RTM_PRESENCE_TYPE_REMOTE_JOIN_CHANNEL =(0)

0: Triggered when remote user join channel

◆ RTM_PRESENCE_TYPE_REMOTE_LEAVE_CHANNEL

io.agora.rtm2.RtmConstants.RtmPresenceType.RTM_PRESENCE_TYPE_REMOTE_LEAVE_CHANNEL =(1)

1: Triggered when remote leave join channel

◆ RTM_PRESENCE_TYPE_REMOTE_CONNECTION_TIMEOUT

io.agora.rtm2.RtmConstants.RtmPresenceType.RTM_PRESENCE_TYPE_REMOTE_CONNECTION_TIMEOUT =(2)

2: Triggered when remote user's connection timeout

◆ RTM_PRESENCE_TYPE_REMOTE_JOIN_TOPIC

io.agora.rtm2.RtmConstants.RtmPresenceType.RTM_PRESENCE_TYPE_REMOTE_JOIN_TOPIC =(3)

3: Triggered when remote user join a topic

◆ RTM_PRESENCE_TYPE_REMOTE_LEAVE_TOPIC

io.agora.rtm2.RtmConstants.RtmPresenceType.RTM_PRESENCE_TYPE_REMOTE_LEAVE_TOPIC =(4)

4: Triggered when remote user leave a topic

◆ RTM_PRESENCE_TYPE_SELF_JOIN_CHANNEL

io.agora.rtm2.RtmConstants.RtmPresenceType.RTM_PRESENCE_TYPE_SELF_JOIN_CHANNEL =(5)

5: Triggered when local user join channel