Package org.drinkless.tdlib
Class TdApi.DeviceTokenApplePushVoIP
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.DeviceToken
-
- org.drinkless.tdlib.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 intCONSTRUCTORIdentifier uniquely determining type of the object.StringdeviceTokenDevice token; may be empty to deregister a device.booleanencryptTrue, if push notifications must be additionally encrypted.booleanisAppSandboxTrue, if App Sandbox is enabled.
-
Constructor Summary
Constructors Constructor Description DeviceTokenApplePushVoIP()A token for Apple Push Notification service VoIP notifications.DeviceTokenApplePushVoIP(String deviceToken, boolean isAppSandbox, boolean encrypt)A token for Apple Push Notification service VoIP notifications.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
deviceToken
public String deviceToken
Device token; may be empty to deregister a device.
-
isAppSandbox
public boolean isAppSandbox
True, if App Sandbox is enabled.
-
encrypt
public boolean encrypt
True, if push notifications must be additionally encrypted.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DeviceTokenApplePushVoIP
public DeviceTokenApplePushVoIP()
A token for Apple Push Notification service VoIP notifications.
-
DeviceTokenApplePushVoIP
public DeviceTokenApplePushVoIP(String deviceToken, boolean isAppSandbox, boolean encrypt)
A token for Apple Push Notification service VoIP notifications.- Parameters:
deviceToken- Device token; may be empty to deregister a device.isAppSandbox- True, if App Sandbox is enabled.encrypt- True, if push notifications must be additionally encrypted.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-