SBDPollVoterListQuery Class Reference
Inherits from | NSObject |
---|---|
Declared in | SBDPollVoterListQuery.h |
Other Methods
optionId
Option id
@property (atomic, readonly) long long optionId
Declared In
SBDPollVoterListQuery.h
channelURL
The channel url related to the poll.
@property (strong, readonly) NSString *channelURL
Declared In
SBDPollVoterListQuery.h
limit
Sets the number of users per page.
@property (atomic) NSUInteger limit
Declared In
SBDPollVoterListQuery.h
hasNext
Shows if there is a next page
@property (atomic, readonly) BOOL hasNext
Declared In
SBDPollVoterListQuery.h
– 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
SBDPollVoterListQuery.h
– loadNextPageWithCompletionHandler:
If this method is repeatedly called, it will retrieve the following pages of the voters
- (void)loadNextPageWithCompletionHandler:(void ( ^ ) ( NSArray<SBDUser*> *_Nullable , int voteCount , SBDError *_Nullable ))completionHandler
Parameters
completionHandler |
The handler block to execute. The |
---|
Declared In
SBDPollVoterListQuery.h
Internal Methods
– initWithChannelUrl:pollId:optionId:
- (nullable instancetype)initWithChannelUrl:(nonnull NSString *)channelURL pollId:(long long)pollId optionId:(long long)optionId