Agora Java API Reference for Android

Public Member Functions | List of all members
io.agora.rtm.SubscribeOptions Class Reference

## Public Member Functions
| SubscribeOptions ()
| SubscribeOptions (boolean withMessage, boolean withPresence, boolean withMetadata, boolean withLock, boolean beQuiet)
void | setWithMessage (boolean withMessage)
void | setWithPresence (boolean withPresence)
void | setWithMetadata (boolean withMetadata)
void | setWithLock (boolean withLock)
void | setBeQuiet (boolean beQuiet)
boolean | getWithMessage ()
boolean | getWithPresence ()
boolean | getWithMetadata ()
boolean | getWithLock ()
boolean | isBeQuiet ()
String | toString ()

## Detailed Description

The subscribe option.

## Constructor & Destructor Documentation

## ◆ SubscribeOptions() [1/2]

io.agora.rtm.SubscribeOptions.SubscribeOptions | ( |  | ) |

The default Constructor of

SubscribeOptions

.

## ◆ SubscribeOptions() [2/2]

io.agora.rtm.SubscribeOptions.SubscribeOptions | ( | boolean | withMessage,
|  | boolean | withPresence,
|  | boolean | withMetadata,
|  | boolean | withLock,
|  | boolean | beQuiet
| ) |  |

Creates a new instance of

SubscribeOptions

with specifies options.

Parameters

  withMessage | Indicates whether subscribe message event notify
  withPresence | Indicates whether subscribe presence event notify
  withMetadata | Indicates whether subscribe storage event notify
  withLock | Indicates whether subscribe lock event notify
  beQuiet | Indicates whether subscribe channel in quiet mode

io.agora.rtm.SubscribeOptions.SubscribeOptions
SubscribeOptions()
Definition: SubscribeOptions.java:40