Instance Method

initWithURL:error:

Creates a new audio file analyzer.

Declaration

- (instancetype)initWithURL:(NSURL *)url error:(NSError * _Nullable *)error;

Parameters

url

The audio file URL.

error

A pointer to an error object.

If an error occurs, this pointer is set to an actual error object containing the error information. You may specify nil for this parameter if you don't want the error details.