Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

See below Inbox APIs to get & delete inbox messages, we also provide an open source example of Inbox implementation (provided on the demo application on Github).

// Getting inbox messages
 
 [[Appoxee shared] refreshInboxWithCompletionHandler:^(NSError *appoxeeError, id data) {
 
    if (!appoxeeError) {
 
        NSArray *messages = (NSArray *)data; // all objects in array are of type APXRichMessage
    }
 }];
 
// Deleting inbox messages

 [[Appoxee shared] deleteRichMessage:richMessage withHandler:^(NSError *appoxeeError, id data) {
 
    if (!appoxeeError) {
 
        // refresh UI
    }
 }];
  • No labels