javapns.notification
Class PayloadPerDevice
java.lang.Object
javapns.notification.PayloadPerDevice
public class PayloadPerDevice
- extends Object
A one-to-one link between a payload and device.
Provides support for a typical payload-per-device scenario.
- Author:
- Sylvain Pedneault
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PayloadPerDevice
public PayloadPerDevice(Payload payload,
String token)
throws InvalidDeviceTokenFormatException
- Throws:
InvalidDeviceTokenFormatException
PayloadPerDevice
public PayloadPerDevice(Payload payload,
Device device)
getPayload
public Payload getPayload()
getDevice
public Device getDevice()
Copyright © 2013. All Rights Reserved.