abortTestNetworkConnectivity()
abortTestNetworkConnectivity()
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
test-completed
testPeerToPeerCallQuality
testNetworkConnectivity
testWebsocketConnectivity
stopTestPeerToPeerCallQuality
abortTestWebsocketConnectivity