Instance Method

analyze()

Analyzes the audio file synchronously.

Declaration

func analyze()

Discussion

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.

Beta
func cancelAnalysis()

Cancels any in-progress analysis of the audio file.

Beta

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