NXMPushPayload

Objective-C

@interface NXMPushPayload : NSObject

Swift

class NXMPushPayload : NSObject

A class representing the payload from an incoming push notification.

  • Custom data on the push notification payload.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSDictionary *customData;

    Swift

    var customData: [AnyHashable : Any]? { get }
  • Event data on the push notification payload.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSDictionary *eventData;

    Swift

    var eventData: [AnyHashable : Any]? { get }
  • The template of the push notification payload.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NXMPushTemplate template;

    Swift

    var template: NXMPushTemplate { get }