Agora Java API Reference for Android
|
Public Member Functions | |
GetOnlineUsersOptions () | |
GetOnlineUsersOptions (boolean includeUserId, boolean includeState) | |
GetOnlineUsersOptions (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 () |
This class represents options for retrieving online users. It provides the ability to specify whether to include the user ID, user state, and pagination data when retrieving online users.
io.agora.rtm.GetOnlineUsersOptions.GetOnlineUsersOptions | ( | ) |
io.agora.rtm.GetOnlineUsersOptions.GetOnlineUsersOptions | ( | boolean | includeUserId, |
boolean | includeState | ||
) |
Constructs an
object with the specified options(whether include user id and state)
includeUserId | Whether to display user id in query result |
includeState | Whether to display user state in query result |
io.agora.rtm.GetOnlineUsersOptions.GetOnlineUsersOptions | ( | boolean | includeUserId, |
boolean | includeState, | ||
String | page | ||
) |
Constructs 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 |