stopTestConnectionQuality()
Deprecated

stopTestConnectionQuality()

Compatibility:
Prebuilt
Custom

This method is deprecated. Please use testPeerToPeerCallQuality() and stopTestPeerToPeerCallQuality instead.

The stopTestConnectionQuality() method allows you to interrupt the ongoing test initiated by testConnectionQuality(). This can be useful if you want to stop the test before it runs its full duration. Calling stopTestConnectionQuality() will interrupt the ongoing test and force an early return on the original testConnectionQuality() call. When data gathering has not yet started, the data object will be empty and the result will be "aborted". If data gathering has started, the results will contain a result and the data collected up until the point of interruption.

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

Example usage of stopTestConnectionQuality():

Related methods