Skip to content

ENUM

IPSCore.ConnectionState

@objc public enum ConnectionState: Int

This enum represents the network connection state of the IPS engine. Currently the engine must be connected to the network to operate (see IPSCore.login(apiKey:)). Use IPSCore.addConnectionStateObserver(_:) to receive connection state change updates in real time or IPSCore.getConnectionState() to get the current connection state.

Cases

offline

case offline = 0

The engine is not running and any request to it will fail.

online

case online = 1

The engine is up and ready to process requests.

limitedConnectivity

case limitedConnectivity = 2

Indicates that the network connectivity is limited which may result in a lower quality of network dependent services.

  • Since: 2.8.1