public static class TileNotification.Builder extends Object
| Modifier and Type | Field and Description |
|---|---|
protected List<Map.Entry<String,String>> |
headers |
| Constructor and Description |
|---|
TileNotification.Builder() |
| Modifier and Type | Method and Description |
|---|---|
TileNotification.Builder |
backBackgroundImage(String backBackgroundImage) |
TileNotification.Builder |
backContent(String backContent) |
TileNotification.Builder |
backgroundImage(String backgroundImage) |
TileNotification.Builder |
backTitle(String backTitle) |
TileNotification |
build() |
A |
callbackUri(String callbackUri)
Sets the notification channel URI that the registered callback message
will be sent to.
|
protected A |
contentType(String contentType)
Sets the notification body content type
|
TileNotification.Builder |
count(int count) |
protected int |
deliveryValueOf(DeliveryClass delivery) |
A |
messageId(String messageId)
Sets the message UUID.
|
A |
notificationClass(DeliveryClass delivery)
Sets the notification batching interval, indicating when the notification
should be delivered to the device
|
A |
notificationType(String type)
Sets the type of the push notification being sent.
|
TileNotification.Builder |
title(String title) |
byte[] |
toByteArray() |
public TileNotification.Builder backgroundImage(String backgroundImage)
public TileNotification.Builder title(String title)
public TileNotification.Builder backBackgroundImage(String backBackgroundImage)
public TileNotification.Builder backTitle(String backTitle)
public TileNotification.Builder backContent(String backContent)
public TileNotification.Builder count(int count)
protected int deliveryValueOf(DeliveryClass delivery)
public TileNotification build()
public byte[] toByteArray()
public A messageId(String messageId)
messageId - notification message IDpublic A notificationClass(DeliveryClass delivery)
delivery - batching intervalpublic A notificationType(String type)
type - the notification typepublic A callbackUri(String callbackUri)
callbackUri - the notification channel URIprotected A contentType(String contentType)
contentType - the content type of the bodyCopyright © 2014 JBoss by Red Hat. All Rights Reserved.