Class LocalizedBulkPush.Builder

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

public static final class LocalizedBulkPush.Builder extends Object
Helper for server localized bulk push payload creation.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • notification

      public LocalizedBulkPush.Builder notification(LocalizedPushPayload notification)
      Sets the server localized notifications for all registered devices.
      Parameters:
      notification -
      Returns:
      a configured builder with notification for all registered devices.
    • userNotifications

      public LocalizedBulkPush.Builder userNotifications(Collection<LocalizedUserNotification> userNotifications)
      Sets the server localized notification element for users specific notifications.
      Parameters:
      userNotifications -
      Returns:
      a configured builder with user specific notifications.
    • build

      public LocalizedBulkPush build()
      Returns:
      the server localized localized bulk notification payload.