NMNotificationController Class Reference
| Inherits from | UIViewController |
| Conforms to | UIWebViewDelegate |
| Declared in | NMNotificationController.h NMNotificationController.m |
Overview
NMNotificationController class is the base class for rich push and pop up notification controllers. It handles low level management of notification controllers. Also there is a sample implementation of this superclass in NMRichPushViewController class. You can implement your custom controller for presenting notifications by subclassing NMNotificationController class.
Tasks
-
– initWithRichPushObject:Initialization of the NMRichPushViewController with a rich push object that includes necessary information to display rich push notification.
-
richPushThe object, which stores the rich push content.
property -
webViewThe webview, which displays the rich push content.
property -
shouldInsertJSThe boolean value which shows whether the script that tracks the rich push action events should be added into the webview or not.
property -
– updateWithRichPushObject:Updates webview content with the newly-receiving rich push object when NMRichPushViewController is visible.
Properties
richPush
The object, which stores the rich push content.
@property (nonatomic, strong) NMRichPushObject *richPushDiscussion
The object, which stores the rich push content.
Declared In
NMNotificationController.hshouldInsertJS
The boolean value which shows whether the script that tracks the rich push action events should be added into the webview or not.
@property (nonatomic, assign) BOOL shouldInsertJSDiscussion
The boolean value which shows whether the script that tracks the rich push action events should be added into the webview or not.
Declared In
NMNotificationController.hInstance Methods
initWithRichPushObject:
Initialization of the NMRichPushViewController with a rich push object that includes necessary information to display rich push notification.
- (id)initWithRichPushObject:(NMRichPushObject *)objDiscussion
Initialization of the NMRichPushViewController with a rich push object that includes necessary information to display rich push notification.
Declared In
NMNotificationController.hupdateWithRichPushObject:
Updates webview content with the newly-receiving rich push object when NMRichPushViewController is visible.
- (void)updateWithRichPushObject:(NMRichPushObject *)newObjectParameters
- newObject
Newly-receiving rich push object.
Discussion
Updates webview content with the newly-receiving rich push object when NMRichPushViewController is visible.
Declared In
NMNotificationController.h