Class LocalizedBulkPush.Builder
java.lang.Object
com.sap.mobile.services.client.push.LocalizedBulkPush.Builder
- Enclosing interface:
- LocalizedBulkPush
Helper for server localized bulk push payload creation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
notification
(LocalizedPushPayload notification) Sets the server localized notifications for all registered devices.userNotifications
(Collection<LocalizedUserNotification> userNotifications) Sets the server localized notification element for users specific notifications.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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
- Returns:
- the server localized localized bulk notification payload.
-