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

  •   status

    Status of the created push notification object.

    property
  •   iOSPlatform

    Platform-specific information of the push notification if it is sent to IOS devices.

    property
  •   androidPlatform

    Platform-specific information of the push notification if it is sent to Android devices.

    property
  •   WPPlatform

    Platform-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 asynchronously.

Extension Methods

  •   type

    Type 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 *WPPlatform

Discussion

Platform-specific information of the push notification if it is sent to Windows Phone devices.

Declared In

NMPushReport.h

androidPlatform

Platform-specific information of the push notification if it is sent to Android devices.

@property (nonatomic, readonly, strong) NMPushPlatformReport *androidPlatform

Discussion

Platform-specific information of the push notification if it is sent to Android devices.

Declared In

NMPushReport.h

iOSPlatform

Platform-specific information of the push notification if it is sent to IOS devices.

@property (nonatomic, readonly, strong) NMPushPlatformReport *iOSPlatform

Discussion

Platform-specific information of the push notification if it is sent to IOS devices.

Declared In

NMPushReport.h

status

Status of the created push notification object.

@property (nonatomic, readonly, assign) NMNotificationStatus status

Discussion

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.h

type

Type of the created push notification object.

@property (nonatomic, assign) NMNotificationType type

Discussion

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.h

Class Methods

getNotificationReportWithId:completionHandler:

Fetches the report information of the sending push notification which is is known asynchronously.

+ (void)getNotificationReportWithId:(NSString *)notificationId completionHandler:(void ( ^ ) ( NMPushReport *notificationReport , NSError *error ))handler

Parameters

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 asynchronously.

Declared In

NMPushReport.h