abortTestNetworkConnectivity()

abortTestNetworkConnectivity()

Compatibility:
Prebuilt
Custom

The abortTestNetworkConnectivity() method allows you to stop the ongoing network connectivity test initiated by testNetworkConnectivity() before it completes. Calling abortTestNetworkConnectivity() will interrupt the ongoing test and force an early return on the original testNetworkConnectivity() call. This result will always be aborted.

Refer to the documentation of testNetworkConnectivity() for more details.

Example usage of abortTestNetworkConnectivity():

Related methods