//sdk-realtime/me.oriient.ipssdk.ips/IPSCore/ConnectionState
ConnectionState
[androidJvm]\ @Retention(value = RetentionPolicy.SOURCE)
annotation class ConnectionState
This IntDef represents the network connection state of the IPS engine. Currently the engine must be connected to the network to operate (see login). Use addConnectionStateListener to receive connection state change updates in real time or getConnectionState to get the current connection state.
Since
2.2.0
Properties
| Name | Summary |
|---|---|
| LIMITED_CONNECTIVITY | [androidJvm] val LIMITED_CONNECTIVITY: Int = 2 Indicates that the network connectivity is limited which may result in a lower quality of network dependent services. |
| OFFLINE | [androidJvm] val OFFLINE: Int = 0 The engine is up and ready to process requests. |
| ONLINE | [androidJvm] val ONLINE: Int = 1 The engine is not running and any request to it will fail. |
Functions
| Name | Summary |
|---|---|
| annotationType | [androidJvm] abstract fun annotationType(): Class<out Annotation> |
| equals | [androidJvm] abstract fun equals(p: Any): Boolean |
| hashCode | [androidJvm] abstract fun hashCode(): Int |
| toString | [androidJvm] abstract fun toString(): String |