NXMMembersSummaryPage
The member summaries on an NXMConversation
are paginated so the NXMMembersSummaryPage class provides a way to traverse a Conversation’s member summaries.
-
Member summaries contained in the page. The array size could be smaller than the page size.
Declaration
Objective-C
@property (nonatomic, readonly, nonnull) NSArray<NXMMemberSummary *> *memberSummaries;
Swift
var memberSummaries: [NXMMemberSummary] { get }
-
Retrieves the next page. If the current page is the last, completionHandler will be called with an error.
Declaration
Objective-C
- (void)nextPage: (void (^_Nonnull)(NSError *_Nullable, NXMMembersSummaryPage *_Nullable))completionHandler;
Swift
func nextPage(_ completionHandler: @escaping (Error?, NXMMembersSummaryPage?) -> Void)
-
Retrieves the previous page. If the current page is the first, completionHandler will be called with an error.
Declaration
Objective-C
- (void)previousPage: (void (^_Nonnull)(NSError *_Nullable, NXMMembersSummaryPage *_Nullable))completionHandler;
Swift
func previousPage(_ completionHandler: @escaping (Error?, NXMMembersSummaryPage?) -> Void)