SBDOpenChannelListQuery Class Reference
| Inherits from | NSObject |
|---|---|
| Conforms to | NSCopying |
| Declared in | SBDOpenChannelListQuery.h |
Overview
The SBDOpenChannelListQuery class is a query class for getting the list of open channels.
The instance of this class is created by createOpenChannelListQuery in SBDOpenChannel class.
limit
Sets the number of channels per page.
@property (atomic) NSUInteger limitDeclared In
SBDOpenChannelListQuery.h
includeFrozenChannel
Whether the result contains frozen channel or not. Default is YES
@property (atomic) BOOL includeFrozenChannelAvailability
3.0.182
Declared In
SBDOpenChannelListQuery.h
includeMetaData
Whether the result channel includes metadata or not. Default is NO
@property (atomic) BOOL includeMetaDataAvailability
3.0.216
Declared In
SBDOpenChannelListQuery.h
hasNext
Shows if there is a next page.
@property (atomic, readonly) BOOL hasNextDeclared In
SBDOpenChannelListQuery.h
urlKeyword
Sets the keyword to search channel url. (Deprecated: in 3.0.64. (Use setChannelUrlFilter: instead.))
@property (strong, nonatomic, nullable) NSString *urlKeywordDeclared In
SBDOpenChannelListQuery.h
nameKeyword
Sets the keyword to search channel name. (Deprecated: in 3.0.64. (Use setChannelNameFilter: instead.))
@property (strong, nonatomic, nullable) NSString *nameKeywordDeclared In
SBDOpenChannelListQuery.h
channelUrlFilter
Sets the channel URL filter.
@property (copy, nonatomic, nullable) NSString *channelUrlFilterDeclared In
SBDOpenChannelListQuery.h
channelNameFilter
Sets the channel name filter.
@property (copy, nonatomic, nullable) NSString *channelNameFilterDeclared In
SBDOpenChannelListQuery.h
customTypeFilter
Sets the custom type filter.
@property (copy, nonatomic, nullable) NSString *customTypeFilterDeclared In
SBDOpenChannelListQuery.h
– isLoading
Shows if the query is loading.
- (BOOL)isLoadingReturn Value
Returns YES if the query is loading, otherwise returns NO.
Declared In
SBDOpenChannelListQuery.h
– loadNextPageWithCompletionHandler:
Gets the list of channels. If this method is repeatedly called, it will retrieve the following pages of the channel list.
- (void)loadNextPageWithCompletionHandler:(nullable void ( ^ ) ( NSArray<SBDOpenChannel*> *_Nullable channels , SBDError *_Nullable error ))completionHandlerParameters
completionHandler |
The handler block to execute. The |
|---|
Declared In
SBDOpenChannelListQuery.h