public static class UnifiedMessage.MessageBuilder.WindowsBuilder extends Object
Constructor and Description |
---|
WindowsBuilder(UnifiedMessage.MessageBuilder builder) |
Modifier and Type | Method and Description |
---|---|
UnifiedMessage.MessageBuilder.WindowsBuilder |
badgeType(org.jboss.aerogear.unifiedpush.message.windows.BadgeType badgeType)
Set the badge notifications type for badges that are not numbers,
for numbers use
UnifiedMessage.MessageBuilder.badge(String) method. |
UnifiedMessage.MessageBuilder |
build() |
UnifiedMessage.MessageBuilder.WindowsBuilder |
durationType(org.jboss.aerogear.unifiedpush.message.windows.DurationType durationType)
Set the duration of a Toast message (long or short)
|
UnifiedMessage.MessageBuilder.WindowsBuilder |
images(List<String> images)
Set a list of image's paths for the Tile Notification Type
|
UnifiedMessage.MessageBuilder.WindowsBuilder |
page(String page)
Sets the page, this is a Windows specific setting that contains the
page in you application to launch when the user 'touches' the notification
in the notification dock.
|
UnifiedMessage.MessageBuilder.WindowsBuilder |
raw()
Set the raw notification type.
|
UnifiedMessage.MessageBuilder.WindowsBuilder |
textFields(List<String> textFields)
Set a list of text fields for the Tile Notification Type
|
UnifiedMessage.MessageBuilder.WindowsBuilder |
tileType(org.jboss.aerogear.unifiedpush.message.windows.TileType tileType)
Set the type of the tile messages, different sizes are available.
|
UnifiedMessage.MessageBuilder.WindowsBuilder |
toastType(org.jboss.aerogear.unifiedpush.message.windows.ToastType toastType)
Set the toast template.
|
UnifiedMessage.MessageBuilder.WindowsBuilder |
type(org.jboss.aerogear.unifiedpush.message.windows.Type type)
Set the type of message to send toast, raw, badge or tile.
|
public WindowsBuilder(UnifiedMessage.MessageBuilder builder)
public UnifiedMessage.MessageBuilder.WindowsBuilder type(org.jboss.aerogear.unifiedpush.message.windows.Type type)
type
- of message to sendUnifiedMessage.MessageBuilder.WindowsBuilder
instancepublic UnifiedMessage.MessageBuilder.WindowsBuilder raw()
UnifiedMessage.MessageBuilder.WindowsBuilder
instancepublic UnifiedMessage.MessageBuilder.WindowsBuilder badgeType(org.jboss.aerogear.unifiedpush.message.windows.BadgeType badgeType)
UnifiedMessage.MessageBuilder.badge(String)
method.
Check the Tile and badge catalogbadgeType
- the badge notifications typeUnifiedMessage.MessageBuilder.WindowsBuilder
instancepublic UnifiedMessage.MessageBuilder.WindowsBuilder tileType(org.jboss.aerogear.unifiedpush.message.windows.TileType tileType)
tileType
- the tileTypeUnifiedMessage.MessageBuilder.WindowsBuilder
instancepublic UnifiedMessage.MessageBuilder.WindowsBuilder durationType(org.jboss.aerogear.unifiedpush.message.windows.DurationType durationType)
durationType
- the duration of a Toast message (long or short)UnifiedMessage.MessageBuilder.WindowsBuilder
instancepublic UnifiedMessage.MessageBuilder.WindowsBuilder toastType(org.jboss.aerogear.unifiedpush.message.windows.ToastType toastType)
toastType
- the toast templateUnifiedMessage.MessageBuilder.WindowsBuilder
instancepublic UnifiedMessage.MessageBuilder.WindowsBuilder images(List<String> images)
images
- a list of image's pathsUnifiedMessage.MessageBuilder.WindowsBuilder
instancepublic UnifiedMessage.MessageBuilder.WindowsBuilder textFields(List<String> textFields)
textFields
- a list of text fieldsUnifiedMessage.MessageBuilder.WindowsBuilder
instancepublic UnifiedMessage.MessageBuilder.WindowsBuilder page(String page)
"page": "/MainPage.xaml"
page
- to launch when user 'touches' the notificationUnifiedMessage.MessageBuilder.WindowsBuilder
instancepublic UnifiedMessage.MessageBuilder build()
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.