Package io.agora.rtm
Class PresenceOptions
java.lang.Object
io.agora.rtm.PresenceOptions
The option to query user presence.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance ofPresenceOptionswith default parameters.PresenceOptions(boolean includeUserId, boolean includeState) Creates a new instance ofPresenceOptionswith specifies options.PresenceOptions(boolean includeUserId, boolean includeState, String page) Creates a new instance ofPresenceOptionswith the specified options. -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleangetPage()voidsetIncludeState(boolean includeState) voidsetIncludeUserId(boolean includeUserId) voidtoString()
-
Constructor Details
-
PresenceOptions
public PresenceOptions()Creates a new instance ofPresenceOptionswith default parameters. -
PresenceOptions
public PresenceOptions(boolean includeUserId, boolean includeState) Creates a new instance ofPresenceOptionswith specifies options.- Parameters:
includeUserId- Whether to display user id in query resultincludeState- Whether to display user state in query result
-
PresenceOptions
Creates a new instance ofPresenceOptionswith the specified options.- Parameters:
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
-
-
Method Details