Package it.tdlight.jni
Class TdApi.UpdateConnectionState
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Update
it.tdlight.jni.TdApi.UpdateConnectionState
- Enclosing class:
- TdApi
public static class TdApi.UpdateConnectionState extends TdApi.Update
The connection state has changed. This
update must be used only to show a
human-readable description of the connection state.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
TdApi.ConnectionState
state
The new connection state. -
Constructor Summary
Constructors Constructor Description UpdateConnectionState()
The connection state has changed.UpdateConnectionState(TdApi.ConnectionState state)
The connection state has changed.UpdateConnectionState(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
-
state
The new connection state. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
UpdateConnectionState
public UpdateConnectionState()The connection state has changed. This update must be used only to show a human-readable description of the connection state. -
UpdateConnectionState
The connection state has changed. This update must be used only to show a human-readable description of the connection state.- Parameters:
state
- ConnectionState The new connection state.
-
UpdateConnectionState
- 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()
-