java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.UnconfirmedSession
- Enclosing class:
- TdApi
Contains information about an unconfirmed session.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.Model of the device that was used for the session creation, as provided by the application.long
Session identifier.A human-readable description of the location from which the session was created, based on the IP address.int
Point in time (Unix timestamp) when the user has logged in. -
Constructor Summary
ConstructorDescriptionContains information about an unconfirmed session.UnconfirmedSession
(long id, int logInDate, String deviceModel, String location) Contains information about an unconfirmed session.UnconfirmedSession
(DataInput input) Contains information about an unconfirmed session. -
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 long idSession identifier. -
logInDate
public int logInDatePoint in time (Unix timestamp) when the user has logged in. -
deviceModel
Model of the device that was used for the session creation, as provided by the application. -
location
A human-readable description of the location from which the session was created, based on the IP address. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
UnconfirmedSession
public UnconfirmedSession()Contains information about an unconfirmed session. -
UnconfirmedSession
Contains information about an unconfirmed session.- Parameters:
id
- Session identifier.logInDate
- Point in time (Unix timestamp) when the user has logged in.deviceModel
- Model of the device that was used for the session creation, as provided by the application.location
- A human-readable description of the location from which the session was created, based on the IP address.
-
UnconfirmedSession
Contains information about an unconfirmed session.- 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()
-