NMPushPlatformReport Class Reference
| Inherits from | NSObject |
| Declared in | NMPushPlatformReport.h NMPushPlatformReport.m |
Overview
NMPushPlatfromReport class is used to present the information about a push notification sent to a certain platform. These platfroms can be iOS, Android or Windows Phone.
Tasks
-
platformName of the platform-specific information of the push notification.
property -
sendDateDate of the push notification, which is started to send to the devices that are registrated to the relevant platform .
property -
finishedDateDate of the push notification, which is finished to send to the devices that are registered to the relevant platform.
property -
statusStatus of the created push notification object of the relevant platform.
property -
successCountNumber of the devices that received the platform-based push notification successfully.
property -
failedCountNumber of the devices that could not receive the platform-based push notification.
property -
platformErrorDescriptionCause of the error if it occured while sending the platform-based push notification.
property -
+ stringFromNotificationStatus:Converts NotificationStatus enum type into string format that refers to notification status.
Properties
failedCount
Number of the devices that could not receive the platform-based push notification.
@property (nonatomic, readonly, assign) NSUInteger failedCountDiscussion
Number of the devices that could not receive the platform-based push notification.
Declared In
NMPushPlatformReport.hfinishedDate
Date of the push notification, which is finished to send to the devices that are registered to the relevant platform.
@property (nonatomic, readonly, strong) NSDate *finishedDateDiscussion
Date of the push notification, which is finished to send to the devices that are registered to the relevant platform.
Declared In
NMPushPlatformReport.hplatform
Name of the platform-specific information of the push notification.
@property (nonatomic, readonly, assign) NMNotificationPushPlatform platformDiscussion
Name of the platform-specific information of the push notification.
Warning: enum NotificationPushPlatform options.
NotificationPushPlatformIOS, ‘IOS’ Platform.
NotificationPushPlatformAndroid, ‘Android’ Platform.
NotificationPushPlatformWP, ‘WP’ Platform.
Declared In
NMPushPlatformReport.hplatformErrorDescription
Cause of the error if it occured while sending the platform-based push notification.
@property (nonatomic, readonly, strong) NSString *platformErrorDescriptionDiscussion
Cause of the error if it occured while sending the platform-based push notification.
Declared In
NMPushPlatformReport.hsendDate
Date of the push notification, which is started to send to the devices that are registrated to the relevant platform .
@property (nonatomic, readonly, strong) NSDate *sendDateDiscussion
Date of the push notification, which is started to send to the devices that are registrated to the relevant platform .
Declared In
NMPushPlatformReport.hstatus
Status of the created push notification object of the relevant platform.
@property (nonatomic, readonly, assign) NMNotificationStatus statusDiscussion
Status of the created push notification object of the relevant platform.
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
NMPushPlatformReport.hClass Methods
stringFromNotificationStatus:
Converts NotificationStatus enum type into string format that refers to notification status.
+ (NSString *)stringFromNotificationStatus:(NMNotificationStatus)statusParameters
- status
Enum type of the push notification status.
Return Value
Corresponding string of the push notification status.
Discussion
Converts NotificationStatus enum type into string format that refers to notification status.
Declared In
NMPushPlatformReport.h