AWSPushTopicDelegate Protocol Reference

Conforms to NSObject
Declared in AWSPushManager.h

Overview

A delegate for receiving PushTopic events.

– topicDidSubscribe: required method

Indicates the subscribe succeeded.

- (void)topicDidSubscribe:(AWSPushTopic *)topic

Parameters

topic

The topic object.

Declared In

AWSPushManager.h

– topic:didFailToSubscribeWithError: required method

Indicates the subscribe failed.

- (void)topic:(AWSPushTopic *)topic didFailToSubscribeWithError:(NSError *)error

Parameters

topic

The topic object.

error

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

Declared In

AWSPushManager.h

– topicDidUnsubscribe: required method

Indicates the unsubscribe succeeded.

- (void)topicDidUnsubscribe:(AWSPushTopic *)topic

Parameters

topic

The topic object.

Declared In

AWSPushManager.h

– topic:didFailToUnsubscribeWithError: required method

Indicates the unsubscribe failed.

- (void)topic:(AWSPushTopic *)topic didFailToUnsubscribeWithError:(NSError *)error

Parameters

topic

The topic object.

error

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

Declared In

AWSPushManager.h