Agora Java API Reference for Android
|
Public Member Functions | |
PresenceOptions () | |
PresenceOptions (boolean includeUserId, boolean includeState) | |
PresenceOptions (boolean includeUserId, boolean includeState, String page) | |
void | setIncludeUserId (boolean includeUserId) |
void | setIncludeState (boolean includeState) |
void | setPage (String page) |
boolean | getIncludeUserId () |
boolean | getIncludeState () |
String | getPage () |
String | toString () |
The option to query user presence.
io.agora.rtm.PresenceOptions.PresenceOptions | ( | ) |
io.agora.rtm.PresenceOptions.PresenceOptions | ( | boolean | includeUserId, |
boolean | includeState | ||
) |
Creates a new instance of
with specifies options.
includeUserId | Whether to display user id in query result |
includeState | Whether to display user state in query result |
io.agora.rtm.PresenceOptions.PresenceOptions | ( | boolean | includeUserId, |
boolean | includeState, | ||
String | page | ||
) |
Creates a new instance of
with the specified options.
includeUserId | specifies whether to include the user ID in the query result. |
includeState | specifies whether to include the user state in the query result. |
page | the string of page for pagination |