connectivityStatus property

String connectivityStatus
getter/setter pair

The status of the connectivity.

  • WiFi: Device connected via Wi-Fi
  • Mobile: Device connected to cellular network
  • None: Device not connected to any network

Implementation

String connectivityStatus = "unknown";