Agora Java API Reference for Android

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

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

## Public Attributes
| NONE =(0)
| SNAPSHOT =(1)
| SET =(2)
| UPDATE =(3)
| REMOVE =(4)

## Detailed Description

RTM storage event type.

## Member Data Documentation

## ◆ NONE

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

0: Unknown event type.

## ◆ SNAPSHOT

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

1: Triggered when user subscribe user metadata state or join channel with options.withMetadata = true.

## ◆ SET

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

2: Triggered when a remote user set metadata

## ◆ UPDATE

io.agora.rtm.RtmConstants.RtmStorageEventType.UPDATE =(3)

3: Triggered when a remote user update metadata

## ◆ REMOVE

io.agora.rtm.RtmConstants.RtmStorageEventType.REMOVE =(4)

4: Triggered when a remote user remove metadata