public static class Notification.Builder extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
Notification |
build()
Build the push notification as configured.
|
Notification.Builder |
message(Message message)
Sets the Message object to the NotificationBuilder.
|
Notification.Builder |
settings(Settings settings)
Sets Settings object to the NotificationBuilder.
|
Notification.Builder |
target(Target target)
Sets Target object to the NotificationBuilder.
|
public Notification.Builder message(Message message)
message - The object that is set with all message attributes.public Notification.Builder target(Target target)
target - The object that is set with all target attributes.public Notification.Builder settings(Settings settings)
settings - The object that is set with all settings attributes.public Notification build()
PushNotifications.send(Notification, PushNotificationsResponseListener)
as a parameter.Copyright © 2017. All rights reserved.