Package it.tdlight.jni
Class TdApi.DeviceTokenWindowsPush
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.DeviceToken
it.tdlight.jni.TdApi.DeviceTokenWindowsPush
- Enclosing class:
- TdApi
public static class TdApi.DeviceTokenWindowsPush extends TdApi.DeviceToken
A token for Windows Push Notification Services.
-
Field Summary
Fields Modifier and Type Field Description String
accessToken
The access token that will be used to send notifications; may be empty to de-register a device.static int
CONSTRUCTOR
-
Constructor Summary
Constructors Constructor Description DeviceTokenWindowsPush()
A token for Windows Push Notification Services.DeviceTokenWindowsPush(DataInput input)
DeviceTokenWindowsPush(String accessToken)
A token for Windows Push Notification Services. -
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
accessToken
The access token that will be used to send notifications; may be empty to de-register a device. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
DeviceTokenWindowsPush
public DeviceTokenWindowsPush()A token for Windows Push Notification Services. -
DeviceTokenWindowsPush
A token for Windows Push Notification Services.- Parameters:
accessToken
- String The access token that will be used to send notifications; may be empty to de-register a device.
-
DeviceTokenWindowsPush
- 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()
-