SBDPollListQuery Class Reference

Inherits from NSObject
Declared in SBDPollListQuery.h

Overview

A class representing query to retrieve list of SBDPolls that matches a given query with given channelURL.

Other Methods

  channelURL

The channel url related to query.

@property (strong, readonly) NSString *channelURL

Declared In

SBDPollListQuery.h

  limit

Sets the number of users per page.

@property (atomic) NSUInteger limit

Declared In

SBDPollListQuery.h

  hasNext

Shows if there is a next page

@property (atomic, readonly) BOOL hasNext

Declared In

SBDPollListQuery.h

– init

- (instancetype)init

– isLoading

Returns YES if the query is loading, otherwise returns NO.

- (BOOL)isLoading

Return Value

Returns YES if the query is loading, otherwise returns NO.

Declared In

SBDPollListQuery.h

– loadNextPageWithCompletionHandler:

- (void)loadNextPageWithCompletionHandler:(nullable void ( ^ ) ( NSArray<SBDPoll*> *_Nullable users , SBDError *_Nullable error ))completionHandler

Internal Methods

– initWithChannelUrl:

- (nullable instancetype)initWithChannelUrl:(nonnull NSString *)channelURL