cancelAnalysis()
Cancels all the asynchronous sound analysis requests the analyzer is currently processing.
Declaration
func cancelAnalysis()Discussion
The method executes asynchronously, and when it completes, the analyzer calls the completion handler you provide to the analyze(completionHandler:) method.