public class ExpiredToken extends Object
Represents a device token that the APN Feedback Service has reported as expired. According to Apple's documentation:
When a push notification cannot be delivered because the intended app does not exist on the device, the feedback service adds that device's token to its list. Push notifications that expire before being delivered are not considered a failed delivery and don't impact the feedback service.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Date |
getExpiration()
Returns the time, rounded to the nearest second, when APNs determined that the application no longer exists on
the device.
|
byte[] |
getToken()
Returns the token APNs has reported as expired.
|
int |
hashCode() |
String |
toString() |
public byte[] getToken()
public Date getExpiration()
Copyright © 2013–2015 RelayRides. All rights reserved.