com.notnoop.mpns.notifications
Class IconicTileNotification

java.lang.Object
  extended by com.notnoop.mpns.notifications.IconicTileNotification
All Implemented Interfaces:
MpnsNotification

public class IconicTileNotification
extends Object
implements MpnsNotification


Nested Class Summary
static class IconicTileNotification.Builder
           
 
Constructor Summary
protected IconicTileNotification(IconicTileNotification.Builder builder, List<? extends Map.Entry<String,String>> headers)
           
 
Method Summary
 List<? extends Map.Entry<String,String>> getHttpHeaders()
          Returns the identifier of the current message.
 byte[] getRequestBody()
          Returns the binary representation of the payload.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IconicTileNotification

protected IconicTileNotification(IconicTileNotification.Builder builder,
                                 List<? extends Map.Entry<String,String>> headers)
Method Detail

getRequestBody

public byte[] getRequestBody()
Description copied from interface: MpnsNotification
Returns the binary representation of the payload.

Specified by:
getRequestBody in interface MpnsNotification

getHttpHeaders

public List<? extends Map.Entry<String,String>> getHttpHeaders()
Description copied from interface: MpnsNotification
Returns the identifier of the current message. The identifier is an application generated identifier.

Specified by:
getHttpHeaders in interface MpnsNotification
Returns:
the notification identifier


Copyright © 2015. All Rights Reserved.