NMPushObject Class Reference
| Inherits from | NSObject |
| Declared in | NMPushObject.h NMPushObject.m |
Tasks
Other Methods
-
alertTextPlain message of the push notification.
property -
customParamsDictionary which contains custom parameters, which are sent with rich push message content.
property -
eventCustomParamsDictionary which contains custom parameters sent by the event which auto-triggers this push notification.
property -
notificationIdId of the push notification that is sent to the devices.
property -
createDateCreation Date of the push notification.
property -
sendDateSend Date of the push notification.
property -
expirationDateExpiration Date of the push notification.
property -
typeType of the created push notification object.
property -
pushInboxStatusStatus of the rich push according to functions to perform.
property -
categoryA string value that can be set from Netmera panel while sending push notifications.
property -
pushLogoURLA URL string that can be set from Netmera panel while sending push notifications. You can give logo image paths for the push notification that you sent, and show it in your custom list.
property -
– fetchPushDetailsWithCompletionHandler:Fetches details of the push object from Netmera.
-
+ notificationTypeFromString:Converts a relevant string format into NotificationType enum type.
-
+ stringFromNotificationType:Converts NotificationType enum type into string format that refers to notification type.
Interactive Notification
-
actionParamsThis value is set when there is action specific parameters set in Netmera panel for selected action. If there are no parameters specified for selected action, value returns nil.
property -
actionIdentifierThis value is set when user selects an action button for an interactive notification, and contains identifier of selected action. Default is nil.
property
Properties
actionIdentifier
This value is set when user selects an action button for an interactive notification, and contains identifier of selected action. Default is nil.
@property (nonatomic, strong) NSString *actionIdentifierDiscussion
This value is set when user selects an action button for an interactive notification, and contains identifier of selected action. Default is nil.
Declared In
NMPushObject.hactionParams
This value is set when there is action specific parameters set in Netmera panel for selected action. If there are no parameters specified for selected action, value returns nil.
@property (nonatomic, strong) NSDictionary *actionParamsDiscussion
This value is set when there is action specific parameters set in Netmera panel for selected action. If there are no parameters specified for selected action, value returns nil.
Declared In
NMPushObject.halertText
Plain message of the push notification.
@property (nonatomic, strong) NSString *alertTextDiscussion
Plain message of the push notification.
Declared In
NMPushObject.hcategory
A string value that can be set from Netmera panel while sending push notifications.
@property (nonatomic, strong) NSString *categoryDiscussion
A string value that can be set from Netmera panel while sending push notifications.
Provides a way to categorize push notifications in a customized manner.
Declared In
NMPushObject.hcreateDate
Creation Date of the push notification.
@property (nonatomic, strong) NSDate *createDateDiscussion
Creation Date of the push notification.
Declared In
NMPushObject.hcustomParams
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
NMPushObject.heventCustomParams
Dictionary which contains custom parameters sent by the event which auto-triggers this push notification.
@property (nonatomic, strong) NSMutableDictionary *eventCustomParamsDiscussion
Dictionary which contains custom parameters sent by the event which auto-triggers this push notification.
Declared In
NMPushObject.hexpirationDate
Expiration Date of the push notification.
@property (nonatomic, strong) NSDate *expirationDateDiscussion
Expiration Date of the push notification.
Declared In
NMPushObject.hnotificationId
Id of the push notification that is sent to the devices.
@property (nonatomic, strong) NSString *notificationIdDiscussion
Id of the push notification that is sent to the devices.
Declared In
NMPushObject.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
NMPushObject.hpushLogoURL
A URL string that can be set from Netmera panel while sending push notifications. You can give logo image paths for the push notification that you sent, and show it in your custom list.
@property (nonatomic, strong) NSString *pushLogoURLDiscussion
A URL string that can be set from Netmera panel while sending push notifications. You can give logo image paths for the push notification that you sent, and show it in your custom list.
Declared In
NMPushObject.hsendDate
Send Date of the push notification.
@property (nonatomic, strong) NSDate *sendDateDiscussion
Send Date of the push notification.
Declared In
NMPushObject.htype
Type of the created push notification object.
@property (nonatomic, assign) NMNotificationType typeDiscussion
Type of the created push notification object.
Warning: enum NotificationType options.
NotificationTypeStandard, plain-text push notification is sent to the relevant devices.
NotificationTypeRich, push notification that contains HTML-formatted rich content is sent to the relevant devices.
NotificationTypePopup, pop-up object that contains HTML-formatted content.
NotificationTypeURLPush, push notification that contains an URL for the rich content is sent to the relevant devices.
Declared In
NMPushObject.hClass Methods
notificationTypeFromString:
Converts a relevant string format into NotificationType enum type.
+ (NMNotificationType)notificationTypeFromString:(NSString *)typeStringParameters
- typeString
String representation of the push notification type.
Discussion
Converts a relevant string format into NotificationType enum type.
Declared In
NMPushObject.hstringFromNotificationType:
+ (NSString *)stringFromNotificationType:(NMNotificationType)typeReturn Value
Corresponding string of the push notification type.
Declared In
NMPushObject.hInstance Methods
fetchPushDetailsWithCompletionHandler:
Fetches details of the push object from Netmera.
- (void)fetchPushDetailsWithCompletionHandler:(void ( ^ ) ( NSError *error ))handlerParameters
- handler
The block to execute when the details of the push notifications is fetched from Netmera.
Discussion
Fetches details of the push object from Netmera.
Declared In
NMPushObject.h