java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.DeviceToken
it.tdlight.jni.TdApi.DeviceTokenApplePush
- Enclosing class:
- TdApi
A token for Apple Push Notification service.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Device token; may be empty to deregister a device.boolean
True, if App Sandbox is enabled. -
Constructor Summary
ConstructorDescriptionA token for Apple Push Notification service.DeviceTokenApplePush
(DataInput input) A token for Apple Push Notification service.DeviceTokenApplePush
(String deviceToken, boolean isAppSandbox) A token for Apple Push Notification service. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
deviceToken
Device token; may be empty to deregister a device. -
isAppSandbox
public boolean isAppSandboxTrue, if App Sandbox is enabled. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
DeviceTokenApplePush
public DeviceTokenApplePush()A token for Apple Push Notification service. -
DeviceTokenApplePush
A token for Apple Push Notification service.- Parameters:
deviceToken
- String Device token; may be empty to deregister a device.isAppSandbox
- boolean True, if App Sandbox is enabled.
-
DeviceTokenApplePush
A token for Apple Push Notification service.- 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()
-