Package it.tdlight.jni
Class TdApi.DeviceTokenApplePushVoIP
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.DeviceToken
it.tdlight.jni.TdApi.DeviceTokenApplePushVoIP
- Enclosing class:
- TdApi
public static class TdApi.DeviceTokenApplePushVoIP extends TdApi.DeviceToken
A token for Apple Push Notification
service VoIP notifications.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
String
deviceToken
Device token; may be empty to de-register a device.boolean
encrypt
True, if push notifications should be additionally encrypted.boolean
isAppSandbox
True, if App Sandbox is enabled. -
Constructor Summary
Constructors Constructor Description DeviceTokenApplePushVoIP()
A token for Apple Push Notification service VoIP notifications.DeviceTokenApplePushVoIP(DataInput input)
DeviceTokenApplePushVoIP(String deviceToken, boolean isAppSandbox, boolean encrypt)
A token for Apple Push Notification service VoIP notifications. -
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
deviceToken
Device token; may be empty to de-register a device. -
isAppSandbox
public boolean isAppSandboxTrue, if App Sandbox is enabled. -
encrypt
public boolean encryptTrue, if push notifications should be additionally encrypted. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
DeviceTokenApplePushVoIP
public DeviceTokenApplePushVoIP()A token for Apple Push Notification service VoIP notifications. -
DeviceTokenApplePushVoIP
A token for Apple Push Notification service VoIP notifications.- Parameters:
deviceToken
- String Device token; may be empty to de-register a device.isAppSandbox
- boolean True, if App Sandbox is enabled.encrypt
- boolean True, if push notifications should be additionally encrypted.
-
DeviceTokenApplePushVoIP
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-