GroupChannelCollection

open class GroupChannelCollection: BaseCollection
extension GroupChannelCollection: GroupChannelDelegate
extension GroupChannelCollection: ConnectionDelegate

An object that accesses the cache for the group channels.

Since

3.1.0
  • The channels that the collection has fetched.

    Declaration

    Swift

    open var channelList: [GroupChannel]
  • If true, the next page might exist.

    Declaration

    Swift

    open private(set) var hasNext: Bool
  • Group channel list query

    Declaration

    Swift

    open internal(set) var query: GroupChannelListQuery
  • Collection delegate.

    Declaration

    Swift

    open weak var delegate: GroupChannelCollectionDelegate?
  • Represents that the collection is going to display the real-time messages.

    Declaration

    Swift

    open private(set) var isLive: Bool = true
  • Token for channel change log.

    Declaration

    Swift

    open private(set) var changelogsToken: String?
  • Default timestamp for group channel change logs.

    Declaration

    Swift

    open private(set) var defaultTs: Int64 = 0
  • Represents the collection needs to fetch more data to satisfy query limit

    Declaration

    Swift

    open private(set) var needMoreData: Bool = false
  • Loads next page.

    Declaration

    Swift

    open func loadMore(completionHandler: @escaping GroupChannelListHandler)

    Parameters

    completionHandler

    The completion handler to be executed.

  • Invalidates the object.

    Declaration

    Swift

    open func dispose()

ChannelEventDelegate

ConnectionDelegate