Inherits from NMNotificationController : UIViewController
Declared in NMRichPushViewController.h
NMRichPushViewController.m

Overview

NMRichPushViewController is the controller, which shows the content of given rich push notification or pop up notification. As default implementation: – For rich push notifications, it displays the coming rich push notifications as if they are opened in push inbox implementation. – For pop up notifications, it shows view with a popping animation.

Tasks

Other Methods

  • – requestUpdateWithRichPushObject:

    This method asks for user’s permission to update current rich push view with the newly-receiving rich push object when NMRichPushViewController is visible. If user approves, new rich push is shown to user.

  • – updateWithRichPushObject:

    Updates webview content with the newly-receiving rich push object when NMRichPushViewController is visible.

Other Methods

Instance Methods

initWithRichPushObject:

Initialization of the NMRichPushViewController with a rich push object that includes necessary information to display rich push notification.

- (id)initWithRichPushObject:(NMRichPushObject *)obj

Discussion

Initialization of the NMRichPushViewController with a rich push object that includes necessary information to display rich push notification.

Declared In

NMNotificationController.h

requestUpdateWithRichPushObject:

This method asks for user’s permission to update current rich push view with the newly-receiving rich push object when NMRichPushViewController is visible. If user approves, new rich push is shown to user.

- (void)requestUpdateWithRichPushObject:(NMRichPushObject *)richObject

Parameters

richObject

Newly receiving rich push object.

Discussion

This method asks for user’s permission to update current rich push view with the newly-receiving rich push object when NMRichPushViewController is visible. If user approves, new rich push is shown to user.

Declared In

NMRichPushViewController.h

updateWithRichPushObject:

Updates webview content with the newly-receiving rich push object when NMRichPushViewController is visible.

- (void)updateWithRichPushObject:(NMRichPushObject *)richObject

Parameters

richObject

Newly receiving rich push object.

Discussion

Updates webview content with the newly-receiving rich push object when NMRichPushViewController is visible.

Declared In

NMRichPushViewController.h