Instance Method


Analyzes the audio file synchronously.


func analyze()


This method executes synchronously and may block the calling thread for a long time. Avoid calling this method from the main thread to prevent the user interface from becoming unresponsive.

The audio file analyzer sends any errors produced during analysis to the request observers.

See Also

Analyzing Data

func analyze(completionHandler: (Bool) -> Void)

Analyzes the audio file asynchronously.

func cancelAnalysis()

Cancels any in-progress analysis of the audio file.


Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software