PyzeNotificationContent

@interface PyzeNotificationContent : NSObject

PyzeNotificationContent This class contains information parsed from the push notification payload.

Since

3.7.0
  • Title of the notification

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *title;
  • SubTitle of the notification

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *subTitle;
  • Notification content text

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *body;
  • Notificatoin category identifier

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *categoryIdentifier;
  • Media attachment url, if its a rich push notification and ‘nil’ otherwise

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *mediaURL;
  • Type/extension of notification attachment

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *mediaType;
  • Array of all notification actions consisting of ‘PyzeNotificationAction’ objects

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSMutableArray *allActions;
  • User selected notification action. selected action with buttonName ‘com.apple.UNNotificationDefaultActionIdentifier’ indicates the default notification tap.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) PyzeNotificationAction *selectedAction;

    Swift

    var selectedAction: PyzeNotificationAction! { get set }