currentNetworkStatus

Returns the current network status based on the platform's reachability API.

This method translates the platform-specific NetworkStatus into a local enum that can be used in the app. The status may be one of the following:

  • NotReachable

  • ReachableViaWiFi

  • ReachableViaEthernet

  • ReachableViaWWAN

Return

The current network status as a NetworkStatus enum.