Package it.tdlight.jni
Class TdApi.UpdateHavePendingNotifications
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Update
it.tdlight.jni.TdApi.UpdateHavePendingNotifications
- Enclosing class:
- TdApi
public static class TdApi.UpdateHavePendingNotifications extends TdApi.Update
Describes whether there are some
pending notification updates. Can be
used to prevent application from
killing, while there are some pending notifications.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
boolean
haveDelayedNotifications
True, if there are some delayed notification updates, which will be sent soon.boolean
haveUnreceivedNotifications
True, if there can be some yet unreceived notifications, which are being fetched from the server. -
Constructor Summary
Constructors Constructor Description UpdateHavePendingNotifications()
Describes whether there are some pending notification updates.UpdateHavePendingNotifications(boolean haveDelayedNotifications, boolean haveUnreceivedNotifications)
Describes whether there are some pending notification updates.UpdateHavePendingNotifications(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
haveDelayedNotifications
public boolean haveDelayedNotificationsTrue, if there are some delayed notification updates, which will be sent soon. -
haveUnreceivedNotifications
public boolean haveUnreceivedNotificationsTrue, if there can be some yet unreceived notifications, which are being fetched from the server. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
UpdateHavePendingNotifications
public UpdateHavePendingNotifications()Describes whether there are some pending notification updates. Can be used to prevent application from killing, while there are some pending notifications. -
UpdateHavePendingNotifications
public UpdateHavePendingNotifications(boolean haveDelayedNotifications, boolean haveUnreceivedNotifications)Describes whether there are some pending notification updates. Can be used to prevent application from killing, while there are some pending notifications.- Parameters:
haveDelayedNotifications
- boolean True, if there are some delayed notification updates, which will be sent soon.haveUnreceivedNotifications
- boolean True, if there can be some yet unreceived notifications, which are being fetched from the server.
-
UpdateHavePendingNotifications
- 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()
-