stopTestCallQuality()

stopTestCallQuality()

Compatibility:
Prebuilt
Custom

The stopTestCallQuality() method allows you to interrupt the ongoing test initiated by testCallQuality(). This can be useful if you want to stop the test before it runs its full duration. Calling stopTestCallQuality() will interrupt the ongoing test and force an early return on the original testCallQuality() 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 testCallQuality() for more details.

Note: This test is meant to be run prior to joining a call. Therefore, if you call join() while a call quality test is running, it will be stopped automatically for you. There is no need to call stopTestCallQuality() manually on join.

Example usage of stopTestCallQuality():

Related methods