Agora Java API Reference for Android

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

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

## Public Attributes
| NONE =(0)
| SNAPSHOT =(1)
| SET =(2)
| REMOVED =(3)
| ACQUIRED =(4)
| RELEASED =(5)
| EXPIRED =(6)

## Detailed Description

RTM lock event type.

## Member Data Documentation

## ◆ NONE

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

0: Unknown event type

## ◆ SNAPSHOT

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

1: Triggered when user subscribe lock state

## ◆ SET

io.agora.rtm.RtmConstants.RtmLockEventType.SET =(2)

2: Triggered when a remote user set lock

## ◆ REMOVED

io.agora.rtm.RtmConstants.RtmLockEventType.REMOVED =(3)

3: Triggered when a remote user remove lock

## ◆ ACQUIRED

io.agora.rtm.RtmConstants.RtmLockEventType.ACQUIRED =(4)

4: Triggered when a remote user acquired lock

## ◆ RELEASED

io.agora.rtm.RtmConstants.RtmLockEventType.RELEASED =(5)

5: Triggered when a remote user released lock

## ◆ EXPIRED

io.agora.rtm.RtmConstants.RtmLockEventType.EXPIRED =(6)

6: Triggered when user reconnect to rtm service, detect the lock has been acquired and released by others.