Agora Java API Reference for Android

Static Public Member Functions | Public Attributes | List of all members
io.agora.rtm.RtmConstants.RtmPresenceEventType Enum Reference

## Static Public Member Functions
static int | getValue (RtmPresenceEventType type)
static RtmPresenceEventType | getEnum (int value)

## Public Attributes
| NONE =(0)
| SNAPSHOT =(1)
| INTERVAL =(2)
| REMOTE_JOIN =(3)
| REMOTE_LEAVE =(4)
| REMOTE_TIMEOUT =(5)
| REMOTE_STATE_CHANGED =(6)
| ERROR_OUT_OF_SERVICE =(7)

## Detailed Description

Presence event type

## Member Data Documentation

## ◆ NONE

io.agora.rtm.RtmConstants.RtmPresenceEventType.NONE =(0)

0: Unknown event type

## ◆ SNAPSHOT

io.agora.rtm.RtmConstants.RtmPresenceEventType.SNAPSHOT =(1)

1: The presence snapshot of this channel

## ◆ INTERVAL

io.agora.rtm.RtmConstants.RtmPresenceEventType.INTERVAL =(2)

2: The presence event triggered in interval mode

## ◆ REMOTE_JOIN

io.agora.rtm.RtmConstants.RtmPresenceEventType.REMOTE_JOIN =(3)

3: Triggered when remote user join channel

## ◆ REMOTE_LEAVE

io.agora.rtm.RtmConstants.RtmPresenceEventType.REMOTE_LEAVE =(4)

4: Triggered when remote user leave channel

## ◆ REMOTE_TIMEOUT

io.agora.rtm.RtmConstants.RtmPresenceEventType.REMOTE_TIMEOUT =(5)

5: Triggered when remote user's connection timeout

## ◆ REMOTE_STATE_CHANGED

io.agora.rtm.RtmConstants.RtmPresenceEventType.REMOTE_STATE_CHANGED =(6)

6: Triggered when user changed state

## ◆ ERROR_OUT_OF_SERVICE

io.agora.rtm.RtmConstants.RtmPresenceEventType.ERROR_OUT_OF_SERVICE =(7)

7: Triggered when user joined channel without presence service