public static class IconicTileNotification.Builder extends Object
| Modifier and Type | Field and Description |
|---|---|
protected List<Map.Entry<String,String>> |
headers |
| Constructor and Description |
|---|
IconicTileNotification.Builder() |
| Modifier and Type | Method and Description |
|---|---|
IconicTileNotification.Builder |
backgroundColor(String backgroundColor) |
IconicTileNotification |
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
|
IconicTileNotification.Builder |
count(int count) |
protected int |
deliveryValueOf(DeliveryClass delivery) |
IconicTileNotification.Builder |
iconImage(String iconImage) |
IconicTileNotification.Builder |
isClear(boolean clear) |
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.
|
IconicTileNotification.Builder |
smallIconImage(String smallIconImage) |
IconicTileNotification.Builder |
tileId(String tileId) |
IconicTileNotification.Builder |
title(String title) |
protected byte[] |
toByteArray() |
IconicTileNotification.Builder |
wideContent1(String wideContent1) |
IconicTileNotification.Builder |
wideContent2(String wideContent2) |
IconicTileNotification.Builder |
wideContent3(String wideContent3) |
public IconicTileNotification.Builder tileId(String tileId)
public IconicTileNotification.Builder isClear(boolean clear)
public IconicTileNotification.Builder smallIconImage(String smallIconImage)
public IconicTileNotification.Builder iconImage(String iconImage)
public IconicTileNotification.Builder wideContent1(String wideContent1)
public IconicTileNotification.Builder wideContent2(String wideContent2)
public IconicTileNotification.Builder wideContent3(String wideContent3)
public IconicTileNotification.Builder count(int count)
public IconicTileNotification.Builder title(String title)
public IconicTileNotification.Builder backgroundColor(String backgroundColor)
protected int deliveryValueOf(DeliveryClass delivery)
public IconicTileNotification build()
protected 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.