PollVoterListQuery

@objc(SBDPollVoterListQuery)
public final class PollVoterListQuery : NSObject

An object to retrieve list of voter

Since

4.1.0
  • fetch limit

    Declaration

    Swift

    @objc
    public internal(set) var limit: UInt { get }
  • Boolean indicates there are more data to fetch

    Declaration

    Swift

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

    Declaration

    Swift

    @objc
    public internal(set) var isLoading: Bool { get }
  • Fetches next page

    Declaration

    Swift

    @objc
    public func loadNextPage(completionHandler: @escaping VoterListHandler)

    Parameters

    completionHandler

    completion handler

  • Copies this object

    Declaration

    Swift

    @objc
    public func copy(with zone: NSZone? = nil) -> Any

    Parameters

    zone

    optional NSZone

    Return Value

    PollVoterListQuery instance