-
public final class AndroidNetworkConnectivityCheckerChecks whether the Android device has TRANSPORT_WIFI or TRANSPORT_CELLULAR capability.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classAndroidNetworkConnectivityChecker.Companion
-
Constructor Summary
Constructors Constructor Description AndroidNetworkConnectivityChecker(Context context, Logger logger)
-
Method Summary
Modifier and Type Method Description final BooleanisConnected()Checks whether the device has network transport capabilities (either Wi-Fi or Cellular). -
-
Constructor Detail
-
AndroidNetworkConnectivityChecker
AndroidNetworkConnectivityChecker(Context context, Logger logger)
-
-
Method Detail
-
isConnected
final Boolean isConnected()
Checks whether the device has network transport capabilities (either Wi-Fi or Cellular).
-
-
-
-