SBDOperatorListQuery Class Reference
Inherits from | NSObject |
---|---|
Conforms to | NSCopying |
Declared in | SBDOperatorListQuery.h |
Overview
The SBDOperatorListQuery
class is a query class for getting the list of operators in channel.
The instance of this class is created by createOperatorListQuery
in SBDBaseChannel
class.
limit
Sets the number of channels per page.
@property (atomic) NSUInteger limit
Declared In
SBDOperatorListQuery.h
hasNext
Shows if there is a next page
@property (atomic, readonly) BOOL hasNext
Declared In
SBDOperatorListQuery.h
loading
Shows if the query is loading. YES if the query is loading, otherwise returns NO.
@property (atomic, readonly, getter=isLoading) BOOL loading
Declared In
SBDOperatorListQuery.h
– init
DO NOT USE this initializer. Get from [{base_channel} createOperatorListQuery]
instead.
- (nullable instancetype)init
Declared In
SBDOperatorListQuery.h
– loadNextPageWithCompletionHandler:
Gets the list of operators. If this method is repeatedly called, it will retrieve the following pages of an operator list.
- (void)loadNextPageWithCompletionHandler:(nonnull void ( ^ ) ( NSArray<SBDUser*> *_Nullable users , SBDError *_Nullable error ))completionHandler
Parameters
completionHandler |
The handler block to be executed after loading list of operators. This block has no return value and takes two argument, one is array of users who are operator and the other is ans error made when there is something wrong to load operators. |
---|
Availability
3.0.94
Declared In
SBDOperatorListQuery.h