com.notnoop.mpns
Class MpnsNotificationBuilder

java.lang.Object
  extended by com.notnoop.mpns.MpnsNotificationBuilder

public class MpnsNotificationBuilder
extends Object

Represents a builder for constructing the notifications requests, as specified by Microsoft Push Notification Guide:


Constructor Summary
MpnsNotificationBuilder()
           
 
Method Summary
 CycleTileNotification.Builder cycleTile()
          Windows 8: Cycle Tile
 FlipTileNotification.Builder flipTile()
          Windows 8: Flip Tile
 IconicTileNotification.Builder iconicTile()
          Windows 8: Iconic Tile
 RawNotification.Builder raw()
          Sets the notification type to a Raw notification
 TileNotification.Builder tile()
          Sets the notification type to a Tile notification
 ToastNotification.Builder toast()
          Sets the notification type to a Toast notification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MpnsNotificationBuilder

public MpnsNotificationBuilder()
Method Detail

tile

public TileNotification.Builder tile()
Sets the notification type to a Tile notification

Returns:
a tile notification builder

flipTile

public FlipTileNotification.Builder flipTile()
Windows 8: Flip Tile


iconicTile

public IconicTileNotification.Builder iconicTile()
Windows 8: Iconic Tile


cycleTile

public CycleTileNotification.Builder cycleTile()
Windows 8: Cycle Tile


toast

public ToastNotification.Builder toast()
Sets the notification type to a Toast notification

Returns:
a toast notification builder

raw

public RawNotification.Builder raw()
Sets the notification type to a Raw notification

Returns:
a row notification builder


Copyright © 2015. All Rights Reserved.