XMMPushManager Class Reference

Inherits from NSObject
Declared in XMMPushManager.h
XMMPushManager.m

Overview

XMMPushManager enables you to receive Push Notifications from the xamoom backend.

Create an instance and set the XMMPushNotificationDelegate.

For setup instructions please visit our github page. (https://github.com/xamoom/xamoom-ios-sdk))

– init

Initialize XMMPushManager and setup push notifications.

- (instancetype)init

Return Value

PushManager instance

Declared In

XMMPushManager.h

– handlePushRegistration:

Handle push registration success. Wraps [pushNotificationManager handlePushRegistration:].

- (void)handlePushRegistration:(NSData *)devToken

Parameters

devToken

Device token from application callback.

Declared In

XMMPushManager.h

– handlePushRegistrationFailure:

Handle push registration failure. Wraps [pushNotificationManager handlePushRegistrationFailure:].

- (void)handlePushRegistrationFailure:(NSError *)error

Parameters

error

Registrations error.

Declared In

XMMPushManager.h

– handlePushReceived:

Handle push received. Wraps [pushNotificationManager handlePushReceived].

- (BOOL)handlePushReceived:(NSDictionary *)userInfo

Parameters

userInfo

Push notifications userData.

Declared In

XMMPushManager.h