PublicGroupChannelListQuery
public final class PublicGroupChannelListQuery: NSObject, Queryable
The PublicGroupChannelListQuery class is a query class for getting the list of public group channels.
The instance of this class is created by createPublicGroupChannelListQuery() in GroupChannel class.
-
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 GroupChannelListHandler)Parameters
completionHandlercompletion handler
-
Copies this object
Declaration
Swift
public func copy(with zone: NSZone? = nil) -> AnyParameters
zoneoptional
NSZoneReturn Value
PublicGroupChannelListQueryinstance
-
Determines channel list includes empty channel. Deafult is
trueDeclaration
Swift
public var includeEmptyChannel: Bool -
Determines channel list includes frozen channel. Default is
trueSince
3.0.182Declaration
Swift
public var includeFrozenChannel: Bool -
Determines channel list includes their members. Default is
trueDeclaration
Swift
public var includeMemberList: Bool -
Determines channel object of the list includes meta data property. Default is
trueSince
3.0.216Declaration
Swift
public var includeMetaData: Bool -
Sets the order of the list. The order is defined in
PublicGroupChannelListOrder. Default is.chronologicalDeclaration
Swift
public var order: PublicGroupChannelListOrder -
Sets to filter super channel. Default is
.allDeclaration
Swift
public var superChannelFilter: GroupChannelSuperChannelFilter -
Sets
GroupChannelURLs filter.GroupChannellist containing only and exactly the passedGroupChannelURLs will be returned.Note
This does not cooperate with other filters.Declaration
Swift
public var publicMembershipFilter: PublicGroupChannelMembershipFilter -
Sets the custom types filter.
Declaration
Swift
public var customTypesFilter: [String]? -
Sets to filter channels by custom type that starts with.
Declaration
Swift
public var customTypeStartsWithFilter: String? -
Sets
GroupChannelURLs filter.GroupChannellist containing only and exactly the passedGroupChannelURLs will be returned.Note
This does not cooperate with other filters.Declaration
Swift
public var channelURLsFilter: [String]? -
Sets
GroupChannelnames filter.GroupChannellist containing only and exactly the passedGroupChannelname will be returned.Note
This does not cooperate with other filters.Declaration
Swift
public var channelNameContainsFilter: String? -
Sets a key for ordering by value in the metadata.
This is valid when the
orderis.channelMetaDataValueAlphabeticalonly.Since
3.0.118Declaration
Swift
public var metaDataOrderKeyFilter: String? -
Searches for group channels with metadata containing an item with the specified value as its key
Since
3.0.232Declaration
Swift
public var metaDataKeyFilter: String? -
Searches for group channels with metadata containing an item with the key specified by the metaDataKey
Since
3.0.232Declaration
Swift
public var metaDataValuesFilter: [String]? -
Searches for group channels with metadata containing an item with the key specified by the metaDataKey and the values of that item start with the specified value
Since
3.0.232Declaration
Swift
public var metaDataValueStartsWithFilter: String? -
Specifies the number of results to return per call. (Default: 20)
Declaration
Swift
public var limit: UInt -
Searches for public group channels created before the specified value. (milliseconds)
Since
4.11.0Declaration
Swift
public var createdBefore: Int64 -
Searches for public group channels created after the specified value. (milliseconds)
Since
4.11.0Declaration
Swift
public var createdAfter: Int64
View on GitHub
Install in Dash