Skip navigation links

AWS SDK for Java API Reference - 2.17.66

Interface APNSMessage.Builder

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

  • 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 a reference to this object so that method calls can be chained together.
    Skip navigation links
    Provide feedback