Package it.tdlight.jni
Class TdApi.DeviceTokenFirebaseCloudMessaging
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.DeviceToken
it.tdlight.jni.TdApi.DeviceTokenFirebaseCloudMessaging
- Enclosing class:
- TdApi
public static class TdApi.DeviceTokenFirebaseCloudMessaging extends TdApi.DeviceToken
A token for Firebase Cloud Messaging.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
boolean
encrypt
True, if push notifications should be additionally encrypted.String
token
Device registration token; may be empty to de-register a device. -
Constructor Summary
Constructors Constructor Description DeviceTokenFirebaseCloudMessaging()
A token for Firebase Cloud Messaging.DeviceTokenFirebaseCloudMessaging(DataInput input)
DeviceTokenFirebaseCloudMessaging(String token, boolean encrypt)
A token for Firebase Cloud Messaging. -
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
-
token
Device registration token; may be empty to de-register a device. -
encrypt
public boolean encryptTrue, if push notifications should be additionally encrypted. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
DeviceTokenFirebaseCloudMessaging
public DeviceTokenFirebaseCloudMessaging()A token for Firebase Cloud Messaging. -
DeviceTokenFirebaseCloudMessaging
A token for Firebase Cloud Messaging.- Parameters:
token
- String Device registration token; may be empty to de-register a device.encrypt
- boolean True, if push notifications should be additionally encrypted.
-
DeviceTokenFirebaseCloudMessaging
- 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()
-