ParticipantListQuery

@objc(SBDParticipantListQuery)
public final class ParticipantListQuery : NSObject, Queryable, UserListQuery

The ParticipantListQuery class is a query class for getting the list of participants in an open channel.

This instance is created by createParticipantListQuery() of OpenChannel.

Since

3.0.120
  • Boolean indicates there are more data to fetch

    Declaration

    Swift

    public internal(set) var hasNext: Bool { get }
  • Indicates the query is currently loading or not

    Declaration

    Swift

    public internal(set) var isLoading: Bool { get }
  • 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

    ParticipantListQuery instance

Params Bridge

  • Specifies the number of results to return per call. (Default: 20)

    Declaration

    Swift

    @objc
    public var limit: UInt { get }