Inherits from NSObject
Declared in NMPushObject.h
NMPushObject.m

Overview

All statuses

Tasks

Other Methods

Interactive Notification

  •   actionParams

    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
  •   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

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 *actionIdentifier

Discussion

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

actionParams

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 *actionParams

Discussion

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

alertText

Plain message of the push notification.

@property (nonatomic, strong) NSString *alertText

Discussion

Plain message of the push notification.

Declared In

NMPushObject.h

category

A string value that can be set from Netmera panel while sending push notifications.

@property (nonatomic, strong) NSString *category

Discussion

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

createDate

Creation Date of the push notification.

@property (nonatomic, strong) NSDate *createDate

Discussion

Creation Date of the push notification.

Declared In

NMPushObject.h

customParams

Dictionary which contains custom parameters, which are sent with rich push message content.

@property (nonatomic, strong) NSMutableDictionary *customParams

Discussion

Dictionary which contains custom parameters, which are sent with rich push message content.

Declared In

NMPushObject.h

eventCustomParams

Dictionary which contains custom parameters sent by the event which auto-triggers this push notification.

@property (nonatomic, strong) NSMutableDictionary *eventCustomParams

Discussion

Dictionary which contains custom parameters sent by the event which auto-triggers this push notification.

Declared In

NMPushObject.h

expirationDate

Expiration Date of the push notification.

@property (nonatomic, strong) NSDate *expirationDate

Discussion

Expiration Date of the push notification.

Declared In

NMPushObject.h

notificationId

Id of the push notification that is sent to the devices.

@property (nonatomic, strong) NSString *notificationId

Discussion

Id of the push notification that is sent to the devices.

Declared In

NMPushObject.h

pushInboxStatus

Status of the rich push according to functions to perform.

@property (nonatomic, assign) NMPushInboxStatus pushInboxStatus

Discussion

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

pushLogoURL

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 *pushLogoURL

Discussion

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

sendDate

Send Date of the push notification.

@property (nonatomic, strong) NSDate *sendDate

Discussion

Send Date of the push notification.

Declared In

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

notificationTypeFromString:

Converts a relevant string format into NotificationType enum type.

+ (NMNotificationType)notificationTypeFromString:(NSString *)typeString

Parameters

typeString

String representation of the push notification type.

Return Value

Corresponding enum type of the push notification type.

Discussion

Converts a relevant string format into NotificationType enum type.

Declared In

NMPushObject.h

stringFromNotificationType:

Converts NotificationType enum type into string format that refers to notification type.

+ (NSString *)stringFromNotificationType:(NMNotificationType)type

Parameters

type

Enum type of the push notification type.

Return Value

Corresponding string of the push notification type.

Discussion

Converts NotificationType enum type into string format that refers to notification type.

Declared In

NMPushObject.h

Instance Methods

fetchPushDetailsWithCompletionHandler:

Fetches details of the push object from Netmera.

- (void)fetchPushDetailsWithCompletionHandler:(void ( ^ ) ( NSError *error ))handler

Parameters

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