AWSPinpointTargetingDefaultPushNotificationMessage Class Reference

Inherits from AWSModel : AWSMTLModel
Declared in AWSPinpointTargetingModel.h
AWSPinpointTargetingModel.m

Overview

Default Push Notification Message.

  action

The action that occurs if the user taps a push notification delivered by the campaign: OPEN_APP - Your app launches, or it becomes the foreground app if it has been sent to the background. This is the default action. DEEP_LINK - Uses deep linking features in iOS and Android to open your app and display a designated user interface within the app. URL - The default mobile browser on the user’s device launches and opens a web page at the URL you specify. Possible values include: OPEN_APP | DEEP_LINK | URL

@property (nonatomic, assign) AWSPinpointTargetingAction action

Declared In

AWSPinpointTargetingModel.h

  body

The message body of the notification, the email body or the text message.

@property (nonatomic, strong) NSString *body

Declared In

AWSPinpointTargetingModel.h

  data

The data payload used for a silent push. This payload is added to the notifications' data.pinpoint.jsonBody' object

@property (nonatomic, strong) NSDictionary<NSString*NSString*> *data

Declared In

AWSPinpointTargetingModel.h

  silentPush

Indicates if the message should display on the users device. Silent pushes can be used for Remote Configuration and Phone Home use cases.

@property (nonatomic, strong) NSNumber *silentPush

Declared In

AWSPinpointTargetingModel.h

  substitutions

Default message substitutions. Can be overridden by individual address substitutions.

@property (nonatomic, strong) NSDictionary<NSString*NSArray<NSString*> *> *substitutions

Declared In

AWSPinpointTargetingModel.h

  title

The message title that displays above the message on the user’s device.

@property (nonatomic, strong) NSString *title

Declared In

AWSPinpointTargetingModel.h

  url

The URL to open in the user’s mobile browser. Used if the value for Action is URL.

@property (nonatomic, strong) NSString *url

Declared In

AWSPinpointTargetingModel.h