public static final class PushTokenId.Ios extends GenericJson
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
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.
|
String |
getApnsDeviceToken()
Device token supplied by an iOS system call to register for remote notifications.
|
String |
getApnsEnvironment()
Indicates whether this token should be used for the production or sandbox APNS server.
|
PushTokenId.Ios |
set(String fieldName,
Object value) |
PushTokenId.Ios |
setApnsDeviceToken(String apnsDeviceToken)
Device token supplied by an iOS system call to register for remote notifications.
|
PushTokenId.Ios |
setApnsEnvironment(String apnsEnvironment)
Indicates whether this token should be used for the production or sandbox APNS server.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getApnsDeviceToken()
null for nonedecodeApnsDeviceToken()public byte[] decodeApnsDeviceToken()
null for nonegetApnsDeviceToken()public PushTokenId.Ios setApnsDeviceToken(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 String getApnsEnvironment()
null for nonepublic PushTokenId.Ios setApnsEnvironment(String apnsEnvironment)
apnsEnvironment - apnsEnvironment or null for nonepublic PushTokenId.Ios set(String fieldName, Object value)
set in class GenericJsonpublic PushTokenId.Ios clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.