# Uses of Class it.tdlight.jni.TdApi.ConnectionState (tdlight API 3.3.160 API)
use: package: it.tdlight.jni, class: TdApi, class: ConnectionState

# Uses of Class
it.tdlight.jni.TdApi.ConnectionState

## Uses of TdApi.ConnectionState in it.tdlight.jni

Subclasses of TdApi.ConnectionState in it.tdlight.jni
Modifier and Type | Class | Description
--- | --- | ---
`static class` | `TdApi.ConnectionStateConnecting` | Currently establishing a connection to the Telegram servers.
`static class` | `TdApi.ConnectionStateConnectingToProxy` | Currently establishing a connection with a proxy server.
`static class` | `TdApi.ConnectionStateReady` | There is a working connection to the Telegram servers.
`static class` | `TdApi.ConnectionStateUpdating` | Downloading data received while the application was offline.
`static class` | `TdApi.ConnectionStateWaitingForNetwork` | Currently waiting for the network to become available.

Fields in it.tdlight.jni declared as TdApi.ConnectionState
Modifier and Type | Field | Description
--- | --- | ---
`TdApi.ConnectionState` | TdApi.UpdateConnectionState.`state` | The new connection state.

Constructors in it.tdlight.jni with parameters of type TdApi.ConnectionState
Constructor | Description
--- | ---
`UpdateConnectionState​(TdApi.ConnectionState state)` | The connection state has changed.