AWSPushManagerDelegate Protocol Reference

Conforms to NSObject
Declared in AWSPushManager.h

Overview

A delegate for receiving PushManager events.

– pushManagerDidRegister: required method

Indicates the success of the - registerForPushNotifications call.

- (void)pushManagerDidRegister:(AWSPushManager *)pushManager

Parameters

pushManager

An instance of PushManager.

Declared In

AWSPushManager.h

– pushManager:didFailToRegisterWithError: required method

Indicates the failure of the - registerForPushNotifications call.

- (void)pushManager:(AWSPushManager *)pushManager didFailToRegisterWithError:(NSError *)error

Parameters

pushManager

An instance of PushManager.

error

An NSError object that encapsulates information why registration did not succeed.

Declared In

AWSPushManager.h

– pushManager:didReceivePushNotification: required method

Indicates the device received a Push Notifiation.

- (void)pushManager:(AWSPushManager *)pushManager didReceivePushNotification:(NSDictionary *)userInfo

Parameters

userInfo

A dictionary that contains information related to the remote notification, potentially including a badge number for the app icon, an alert sound, an alert message to display to the user, a notification identifier, and custom data. The provider originates it as a JSON-defined dictionary that iOS converts to an NSDictionary object; the dictionary may contain only property-list objects plus NSNull.

Declared In

AWSPushManager.h

– pushManagerDidDisable: required method

Indicates the success of the - disablePushNotifications call.

- (void)pushManagerDidDisable:(AWSPushManager *)pushManager

Parameters

pushManager

An instance of PushManager.

Declared In

AWSPushManager.h

– pushManager:didFailToDisableWithError: required method

Indicates the failure of the - disablePushNotifications call.

- (void)pushManager:(AWSPushManager *)pushManager didFailToDisableWithError:(NSError *)error

Parameters

pushManager

An instance of PushManager.

error

An NSError object that encapsulates information why disable did not succeed.

Declared In

AWSPushManager.h