|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.notnoop.mpns.notifications.CycleTileNotification.Builder
public static class CycleTileNotification.Builder
| Field Summary | |
|---|---|
protected List<Map.Entry<String,String>> |
headers
|
static int |
MAX_IMAGES
|
| Constructor Summary | |
|---|---|
CycleTileNotification.Builder()
|
|
| Method Summary | |
|---|---|
CycleTileNotification |
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 |
CycleTileNotification.Builder |
count(int count)
|
CycleTileNotification.Builder |
cycleImage(int index,
String imageName)
|
protected int |
deliveryValueOf(DeliveryClass delivery)
|
CycleTileNotification.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. |
CycleTileNotification.Builder |
smallBackgroundImage(String smallBackgroundImage)
|
CycleTileNotification.Builder |
tileId(String tileId)
|
CycleTileNotification.Builder |
title(String title)
|
protected byte[] |
toByteArray()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int MAX_IMAGES
protected List<Map.Entry<String,String>> headers
| Constructor Detail |
|---|
public CycleTileNotification.Builder()
| Method Detail |
|---|
public CycleTileNotification.Builder tileId(String tileId)
public CycleTileNotification.Builder isClear(boolean clear)
public CycleTileNotification.Builder smallBackgroundImage(String smallBackgroundImage)
public CycleTileNotification.Builder cycleImage(int index,
String imageName)
public CycleTileNotification.Builder count(int count)
public CycleTileNotification.Builder title(String title)
protected int deliveryValueOf(DeliveryClass delivery)
public CycleTileNotification build()
protected byte[] toByteArray()
public A messageId(String messageId)
messageId - notification message ID
public A notificationClass(DeliveryClass delivery)
delivery - batching interval
public A notificationType(String type)
type - the notification type
public A callbackUri(String callbackUri)
callbackUri - the notification channel URI
protected A contentType(String contentType)
contentType - the content type of the body
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||