java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Notification
- Enclosing class:
- TdApi
Contains information about a notification.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.int
Notification date.int
Unique persistent identifier of this notification.boolean
True, if the notification was explicitly sent without sound.Notification type. -
Constructor Summary
ConstructorDescriptionContains information about a notification.Notification
(int id, int date, boolean isSilent, TdApi.NotificationType type) Contains information about a notification.Notification
(DataInput input) Contains information about a notification. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
id
public int idUnique persistent identifier of this notification. -
date
public int dateNotification date. -
isSilent
public boolean isSilentTrue, if the notification was explicitly sent without sound. -
type
Notification type. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
Notification
public Notification()Contains information about a notification. -
Notification
Contains information about a notification.- Parameters:
id
- Unique persistent identifier of this notification.date
- Notification date.isSilent
- True, if the notification was explicitly sent without sound.type
- Notification type.
-
Notification
Contains information about a notification.- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-