NMPushReport Class Reference
| Inherits from | NMRichPushSenderObject : NMPushSenderObject : NMPushObject : NSObject |
| Declared in | NMPushReport.h NMPushReport.m |
Overview
NMPushReport class is used to present the relevant information about a push notification specified by notification id.
Tasks
Other Methods
-
statusStatus of the created push notification object.
property -
iOSPlatformPlatform-specific information of the push notification if it is sent to IOS devices.
property -
androidPlatformPlatform-specific information of the push notification if it is sent to Android devices.
property -
WPPlatformPlatform-specific information of the push notification if it is sent to Windows Phone devices.
property -
+ getNotificationReportWithId:completionHandler:Fetches the report information of the sending push notification which is is known on the background thread.
Extension Methods
-
typeType of the created push notification object.
property
Properties
WPPlatform
Platform-specific information of the push notification if it is sent to Windows Phone devices.
@property (nonatomic, readonly, strong) NMPushPlatformReport *WPPlatformDiscussion
Platform-specific information of the push notification if it is sent to Windows Phone devices.
Declared In
NMPushReport.handroidPlatform
Platform-specific information of the push notification if it is sent to Android devices.
@property (nonatomic, readonly, strong) NMPushPlatformReport *androidPlatformDiscussion
Platform-specific information of the push notification if it is sent to Android devices.
Declared In
NMPushReport.hiOSPlatform
Platform-specific information of the push notification if it is sent to IOS devices.
@property (nonatomic, readonly, strong) NMPushPlatformReport *iOSPlatformDiscussion
Platform-specific information of the push notification if it is sent to IOS devices.
Declared In
NMPushReport.hstatus
Status of the created push notification object.
@property (nonatomic, readonly, assign) NMNotificationStatus statusDiscussion
Status of the created push notification object.
Warning: enum NotificationStatus options.
NotificationDrafted, means the push notification is saved as draft.
NotificationSending, means the push notification is still sending to the devices.
NotificationFinished, means the push notification was sent to relevant devices.
NotificationFailed, means the sending the push notification to relevant devices is failed.
Declared In
NMPushReport.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
getNotificationReportWithId:completionHandler:
Fetches the report information of the sending push notification which is is known on the background thread.
+ (void)getNotificationReportWithId:(NSString *)notificationId completionHandler:(void ( ^ ) ( NMPushReport *notificationReport , NSError *error ))handlerParameters
- notificationId
NotificationID of the push notification of which report is requested to get.
- handler
The block to execute when the receiving the report of the push notification is completed.
Discussion
Fetches the report information of the sending push notification which is is known on the background thread.
Declared In
NMPushReport.h