Skip navigation links

AWS SDK for Java API Reference - 2.17.41

software.amazon.awssdk.services.pinpoint.model

Interface GCMMessage.Builder

Parameters:
priority - para>normal - The notification might be delayed. Delivery is optimized for battery usage on the recipient's device. Use this value unless immediate delivery is required.

/listitem>
  • high - The notification is sent immediately and might wake a sleeping device.

  • /para>

    Amazon Pinpoint specifies this value in the FCM priority parameter when it sends the notification message to FCM.

    The equivalent values for Apple Push Notification service (APNs) are 5, for normal, and 10, for high. If you specify an APNs value for this property, Amazon Pinpoint accepts and converts the value to the corresponding FCM value.

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