AWSPinpointTargetingMessage Class Reference

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

Overview

Message to send

  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.

@property (nonatomic, assign) AWSPinpointTargetingAction action

Declared In

AWSPinpointTargetingModel.h

  body

The message body. Can include up to 140 characters.

@property (nonatomic, strong) NSString *body

Declared In

AWSPinpointTargetingModel.h

  imageIconUrl

The URL that points to the icon image for the push notification icon, for example, the app icon.

@property (nonatomic, strong) NSString *imageIconUrl

Declared In

AWSPinpointTargetingModel.h

  imageSmallIconUrl

The URL that points to the small icon image for the push notification icon, for example, the app icon.

@property (nonatomic, strong) NSString *imageSmallIconUrl

Declared In

AWSPinpointTargetingModel.h

  imageUrl

The URL that points to an image used in the push notification.

@property (nonatomic, strong) NSString *imageUrl

Declared In

AWSPinpointTargetingModel.h

  jsonBody

The JSON payload used for a silent push.

@property (nonatomic, strong) NSString *jsonBody

Declared In

AWSPinpointTargetingModel.h

  mediaUrl

A URL that refers to the location of an image or video that you want to display in the push notification.

@property (nonatomic, strong) NSString *mediaUrl

Declared In

AWSPinpointTargetingModel.h

  rawContent

The Raw JSON formatted string to be used as the payload. This value overrides the message.

@property (nonatomic, strong) NSString *rawContent

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

  timeToLive

This parameter specifies how long (in seconds) the message should be kept if the service is unable to deliver the notification the first time. If the value is 0, it treats the notification as if it expires immediately and does not store the notification or attempt to redeliver it. This value is converted to the expiration field when sent to the service. It only applies to APNs and GCM

@property (nonatomic, strong) NSNumber *timeToLive

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