Package it.tdlight.jni
Class TdApi.DeviceTokenSimplePush
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.DeviceToken
it.tdlight.jni.TdApi.DeviceTokenSimplePush
- Enclosing class:
- TdApi
public static class TdApi.DeviceTokenSimplePush extends TdApi.DeviceToken
A token for Simple Push API for Firefox OS.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
String
endpoint
Absolute URL exposed by the push service where the application server can send push messages; may be empty to de-register a device. -
Constructor Summary
Constructors Constructor Description DeviceTokenSimplePush()
A token for Simple Push API for Firefox OS.DeviceTokenSimplePush(DataInput input)
DeviceTokenSimplePush(String endpoint)
A token for Simple Push API for Firefox OS. -
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
-
endpoint
Absolute URL exposed by the push service where the application server can send push messages; may be empty to de-register a device. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
DeviceTokenSimplePush
public DeviceTokenSimplePush()A token for Simple Push API for Firefox OS. -
DeviceTokenSimplePush
A token for Simple Push API for Firefox OS.- Parameters:
endpoint
- String Absolute URL exposed by the push service where the application server can send push messages; may be empty to de-register a device.
-
DeviceTokenSimplePush
- 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()
-