NMPushObject Class Reference
| Inherits from | NSObject |
| Declared in | NMPushObject.h NMPushObject.m |
Tasks
-
alertTextPlain message of the push notification.
property -
customPayloadCustom payload information that sent with push notification.
property -
notificationIdId of the push notification that is sent to the devices.
property -
createDateCreation Date of the push notification.
property -
typeType of the created push notification object.
property -
+ notificationTypeFromString:Converts a relevant string format into NotificationType enum type.
-
+ stringFromNotificationType:Converts NotificationType enum type into string format that refers to notification type.
Properties
alertText
Plain message of the push notification.
@property (nonatomic, strong) NSString *alertTextDiscussion
Plain message of the push notification.
Declared In
NMPushObject.hcreateDate
Creation Date of the push notification.
@property (nonatomic, strong) NSDate *createDateDiscussion
Creation Date of the push notification.
Declared In
NMPushObject.hcustomPayload
Custom payload information that sent with push notification.
@property (nonatomic, strong) NSMutableDictionary *customPayloadDiscussion
Custom payload information that sent with 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.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.h