OperatorListQuery

@objc(SBDOperatorListQuery)
public class OperatorListQuery : NSObject, Queryable, UserListQuery

The OperatorListQuery class is a query class for getting the list of operators in channel.

The instance of this class is created by createOperatorListQuery() in BaseChannel class.

  • 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

    OperatorListQuery instance

Params Bridge

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

    Declaration

    Swift

    @objc
    public var limit: UInt { get }