ApplicationUserListQuery
public final class ApplicationUserListQuery: NSObject, Queryable, UserListQuery
The ApplicationUserListQuery
class is a query class for getting the list of all
users of the current application.
This instance is created by createApplicationUserListQuery()
of SendbirdChat
.
Since
3.0.120-
indicates there are more data to fetch
Declaration
Swift
public internal(set) var hasNext: Bool = true
-
Indicates the query is currently loading or not
Declaration
Swift
public internal(set) var isLoading: Bool = false
-
Fetches next page
Declaration
Swift
public func loadNextPage(completionHandler: @escaping UserListHandler)
Parameters
completionHandler
completion handler
-
Copies this object
Declaration
Swift
public func copy(with zone: NSZone? = nil) -> Any
Parameters
zone
optional
NSZone
Return Value
ApplicationUserListQuery
instance
-
Specifies the number of results to return per call. (Default: 20)
Declaration
Swift
public var limit: UInt
-
Sets the user IDs filter.
Declaration
Swift
public var userIdsFilter: [String]?
-
The meta data key filter. This query will return users that has the meta data key and values. This has to be set by
setMetaDataFilterWithKey:values:
.Declaration
Swift
public var metaDataKeyFilter: String?
-
The meta data values filter. This query will return users that has the meta data key and values. This has to be set by
setMetaDataFilterWithKey:values:
.Declaration
Swift
public var metaDataValuesFilter: [String]?
-
Filters user’s nickname that starts with
Since
3.0.223Declaration
Swift
public var nicknameStartsWithFilter: String?