Skip navigation links

AWS SDK for Java API Reference - 2.13.27

software.amazon.awssdk.services.pinpoint.model

Interface APNSMessage.Builder

Parameters:
priority - para>5 - Low priority, the notification might be delayed, delivered as part of a group, or throttled.

/listitem>
  • 10 - High priority, the notification is sent immediately. This is the default value. A high priority notification should trigger an alert, play a sound, or badge your app's icon on the recipient's device.

  • /para>

    Amazon Pinpoint specifies this value in the apns-priority request header when it sends the notification message to APNs.

    The equivalent values for Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), are normal, for 5, and high, for 10. If you specify an FCM value for this property, Amazon Pinpoint accepts and converts the value to the corresponding APNs value.

    Returns:
    Returns a reference to this object so that method calls can be chained together.
    Skip navigation links
     

    Copyright © 2020 Amazon Web Services, Inc. All Rights Reserved.