AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
public class GCMMessage
The GCMMessage type exposes the following members
Gets and sets the property 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
Gets and sets the property Body. The message body of the notification, the email body or the text message.
Gets and sets the property CollapseKey. This parameter identifies a group of messages (e.g., with collapse_key: "Updates Available") that can be collapsed, so that only the last message gets sent when delivery can be resumed. This is intended to avoid sending too many of the same messages when the device comes back online or becomes active.
Gets and sets the property Data. The data payload used for a silent push. This payload is added to the notifications' data.pinpoint.jsonBody' object
Gets and sets the property IconReference. The icon image name of the asset saved in your application.
Gets and sets the property ImageIconUrl. The URL that points to an image used as the large icon to the notification content view.
Gets and sets the property ImageUrl. The URL that points to an image used in the push notification.
Gets and sets the property Priority. The message priority. Amazon Pinpoint uses this value to set the FCM or GCM priority parameter when it sends the message. Accepts the following values:"Normal" - Messages might be delayed. Delivery is optimized for battery usage on the receiving device. Use normal priority unless immediate delivery is required."High" - Messages are sent immediately and might wake a sleeping device.The equivalent values for APNs messages are "5" and "10". Amazon Pinpoint accepts these values here and converts them.For more information, see About FCM Messages in the Firebase documentation.
Gets and sets the property RawContent. The Raw JSON formatted string to be used as the payload. This value overrides the message.
Gets and sets the property RestrictedPackageName. This parameter specifies the package name of the application where the registration tokens must match in order to receive the message.
Gets and sets the property SilentPush. Indicates if the message should display on the users device. Silent pushes can be used for Remote Configuration and Phone Home use cases.
Gets and sets the property SmallImageIconUrl. The URL that points to an image used as the small icon for the notification which will be used to represent the notification in the status bar and content view
Gets and sets the property Sound. Indicates a sound to play when the device receives the notification. Supports default, or the filename of a sound resource bundled in the app. Android sound files must reside in /res/raw/
Gets and sets the property Substitutions. Default message substitutions. Can be overridden by individual address substitutions.
Gets and sets the property TimeToLive. The length of time (in seconds) that FCM or GCM stores and attempts to deliver the message. If unspecified, the value defaults to the maximum, which is 2,419,200 seconds (28 days). Amazon Pinpoint uses this value to set the FCM or GCM time_to_live parameter.
Gets and sets the property Title. The message title that displays above the message on the user's device.
Gets and sets the property Url. The URL to open in the user's mobile browser. Used if the value for Action is URL.
Supported in: 1.3
Supported in: 4.5, 4.0, 3.5
Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms