public static final class PushTokenId.Ios
extends com.google.api.client.json.GenericJson
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
PushTokenId.Ios() |
| Modifier and Type | Method and Description |
|---|---|
PushTokenId.Ios |
clone() |
byte[] |
decodeApnsDeviceToken()
Device token supplied by an iOS system call to register for remote notifications.
|
PushTokenId.Ios |
encodeApnsDeviceToken(byte[] apnsDeviceToken)
Device token supplied by an iOS system call to register for remote notifications.
|
java.lang.String |
getApnsDeviceToken()
Device token supplied by an iOS system call to register for remote notifications.
|
java.lang.String |
getApnsEnvironment()
Indicates whether this token should be used for the production or sandbox APNS server.
|
PushTokenId.Ios |
set(java.lang.String fieldName,
java.lang.Object value) |
PushTokenId.Ios |
setApnsDeviceToken(java.lang.String apnsDeviceToken)
Device token supplied by an iOS system call to register for remote notifications.
|
PushTokenId.Ios |
setApnsEnvironment(java.lang.String apnsEnvironment)
Indicates whether this token should be used for the production or sandbox APNS server.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getApnsDeviceToken()
null for nonedecodeApnsDeviceToken()public byte[] decodeApnsDeviceToken()
null for nonegetApnsDeviceToken()public PushTokenId.Ios setApnsDeviceToken(java.lang.String apnsDeviceToken)
apnsDeviceToken - apnsDeviceToken or null for none#encodeApnsDeviceToken()public PushTokenId.Ios encodeApnsDeviceToken(byte[] apnsDeviceToken)
The value is encoded Base64 or {@code null} for none.
public java.lang.String getApnsEnvironment()
null for nonepublic PushTokenId.Ios setApnsEnvironment(java.lang.String apnsEnvironment)
apnsEnvironment - apnsEnvironment or null for nonepublic PushTokenId.Ios set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic PushTokenId.Ios clone()
clone in class com.google.api.client.json.GenericJson