NMRichPushObject Class Reference
| Inherits from | NMPushObject : NSObject |
| Declared in | NMRichPushObject.h NMRichPushObject.m |
Tasks
-
htmlBodyHTML string that will be shown as rich push message content if any.
property -
customParamsDictionary which contains custom parameters, which are sent with rich push message content.
property -
urlStringURL string that will bw shown as rich push content if any.
property -
shouldShownInInboxBoolean value which indicates that the receiving rich push should be placed in Inbox
property -
pushInboxStatusStatus of the rich push according to functions to perform.
property -
– handleEventURL:This method handles urls in the rich push content, and check whether related action contains a custom event. If yes, it sends related event data to server.
Properties
customParams
Dictionary which contains custom parameters, which are sent with rich push message content.
@property (nonatomic, strong) NSMutableDictionary *customParamsDiscussion
Dictionary which contains custom parameters, which are sent with rich push message content.
Declared In
NMRichPushObject.hhtmlBody
HTML string that will be shown as rich push message content if any.
@property (nonatomic, strong) NSString *htmlBodyDiscussion
HTML string that will be shown as rich push message content if any.
Declared In
NMRichPushObject.hpushInboxStatus
Status of the rich push according to functions to perform.
@property (nonatomic, assign) NMPushInboxStatus pushInboxStatusDiscussion
Status of the rich push according to functions to perform.
Warning: enum PushStatus options.
PushStatusRead, it shows that the rich push is read.
PushStatusUnread, it shows that the rich push is unread.
PushStatusDeleted, it shows that the rich push is deleted.
Declared In
NMRichPushObject.hInstance Methods
handleEventURL:
This method handles urls in the rich push content, and check whether related action contains a custom event. If yes, it sends related event data to server.
- (BOOL)handleEventURL:(NSURL *)urlParameters
- url
URL which is triggered in the rich push content.
Return Value
BOOL returns YES if url contains a custom event. You should return NO to webView:shouldStartLoadWithRequest:navigationType: delegate method if this method returns YES.
Discussion
This method handles urls in the rich push content, and check whether related action contains a custom event. If yes, it sends related event data to server.
Declared In
NMRichPushObject.h