getNetworkType

open fun getNetworkType(): NetworkUtils.NetworkType

Return type of network.

Must hold {@code }

Return

type of network

  • NETWORK_WIFI
  • NETWORK_3G
  • NETWORK_UNKNOWN