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() [2/2]

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

Creates a new instance of

with specifies options.

Parameters
withMessageIndicates whether subscribe message event notify
withPresenceIndicates whether subscribe presence event notify
withMetadataIndicates whether subscribe storage event notify
withLockIndicates whether subscribe lock event notify
beQuietIndicates whether subscribe channel in quiet mode
io.agora.rtm.SubscribeOptions.SubscribeOptions
SubscribeOptions()
Definition: SubscribeOptions.java:40