PollListQuery

@objc(SBDPollListQuery)
public class PollListQuery : NSObject, Queryable

An object to retrieve list of Poll

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 PollListHandler)

    Parameters

    completionHandler

    completion handler

  • Copies this object

    Declaration

    Swift

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

    Parameters

    zone

    optional NSZone

    Return Value

    PollListQuery instance