GroupChannelCollection

@objc(SBDGroupChannelCollection)
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

    @objc
    open var channelList: [GroupChannel] { get }
  • If true, the next page might exist.

    Declaration

    Swift

    @objc
    @Atomic
    open private(set) var hasNext: Bool { get set }
  • Group channel list query

    Declaration

    Swift

    @objc
    open internal(set) var query: GroupChannelListQuery { get }
  • Collection delegate.

    Declaration

    Swift

    @objc
    open weak var delegate: GroupChannelCollectionDelegate? { get set }
  • Represents that the collection is going to display the real-time messages.

    Declaration

    Swift

    @objc
    open private(set) var isLive: Bool { get }
  • Token for channel change log.

    Declaration

    Swift

    @objc
    open private(set) var changelogsToken: String? { get }
  • Default timestamp for group channel change logs.

    Declaration

    Swift

    @objc
    open private(set) var defaultTs: Int64 { get }
  • Represents the collection needs to fetch more data to satisfy query limit

    Declaration

    Swift

    @objc
    open private(set) var needMoreData: Bool { get }
  • Loads next page.

    Declaration

    Swift

    @objc
    open func loadMore(completionHandler: @escaping GroupChannelListHandler)

    Parameters

    completionHandler

    The completion handler to be executed.

  • Invalidates the object.

    Declaration

    Swift

    @objc
    open func dispose()

ChannelEventDelegate

ConnectionDelegate