Class WnsNotificationImage.Builder

java.lang.Object
com.sap.mobile.services.client.push.WnsNotificationImage.Builder
Enclosing interface:
WnsNotificationImage

public static final class WnsNotificationImage.Builder extends Object
Specifies an image used in the toast template.
See Also:
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • alt

      A description of the image, for users of assistive technologies.
    • src

      The URI of the image source.
    • addImageQuery

      public WnsNotificationImage.Builder addImageQuery(Boolean addImageQuery)
      Set to "true" to allow Windows to append a query string to the image URI supplied in the toast notification. Use this attribute if your server hosts images and can handle query strings, either by retrieving an image variant based on the query strings or by ignoring the query string and returning the image as specified without the query string.
    • build

      public WnsNotificationImage build()