NXMConversationsPage

@interface NXMConversationsPage : NXMPage

/*!
 * @brief Conversations contained in the page. The array size could be smaller than the page size.
 * @code NSArray<NXMConversation *> *conversations = myNXMConversationsPage.conversations;
 */
@property (nonatomic, nonnull, readonly) NSArray<NXMConversation *> *conversations;

/*!
 * @brief Retrieves the next page. If the current page is the last, completionHandler will be called with an error.
 * @code [myNXMConversationsPage nextPage:^(NSError * _Nullable error, NXMConversationsPage * _Nullable page) {
     // ... use page...
 }];
 */
- (void)nextPage:(void(^_Nonnull)(NSError * _Nullable error, NXMConversationsPage * _Nullable page))completionHandler;

/*!
 * @brief Retrieves the previous page. If the current page is the first, completionHandler will be called with an error.
 * @code [myNXMConversationsPage previousPage:^(NSError * _Nullable error, NXMConversationsPage * _Nullable page) {
 // ... use page...
 }];
 */
- (void)previousPage:(void(^_Nonnull)(NSError * _Nullable error, NXMConversationsPage * _Nullable page))completionHandler;

@end

Undocumented

  • Undocumented

    Declaration

    Objective-C

    - (void)nextPage:
        (void (^_Nonnull)(int *_Nullable,
                          NXMConversationsPage *_Nullable))completionHandler;
  • Undocumented

    Declaration

    Objective-C

    - (void)previousPage:
        (void (^_Nonnull)(int *_Nullable,
                          NXMConversationsPage *_Nullable))completionHandler;