Inbox for Appoxee Standalone

Available only for Appoxee standalone customers (Not available for DMC customers)

 

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).

Objective-C 

// 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(message, withHandler: { appoxeeError, data in if appoxeeError == false { // Message was deleted } })

 

Swift

// Getting inbox messages Appoxee.shared()?.refreshInboxWithCompletionHandler({ appoxeeError, messages in if appoxeeError == false { if let inboxMessages: Array <APXRichMessage> = messages as? Array { print(inboxMessages) } } }) // Deleting inbox messages Appoxee.shared()?.deleteRichMessage(message, withHandler: { appoxeeError, data in if appoxeeError == false { // Message was deleted } })