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. The returned result will always be aborted and a test-completed event will be sent.

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

Example usage of abortTestNetworkConnectivity():

Related methods and events