Protocol

SNResultsObserving

The interface through which your app receives the results of an analysis request.

Declaration

@protocol SNResultsObserving

Topics

Handling Requests

- request:didProduceResult:

Provides a new analysis result to your app with the specified time range.

Required.

- request:didFailWithError:

Provides any errors encountered during processing of this request.

- requestDidComplete:

Notifies your app that the analysis request completed normally.

Relationships

Inherits From

See Also

Configuration and Classification

SNClassifySoundRequest

A request to perform sound classification using a Core ML model.

SNClassificationResult

A result containing the highest-ranking classifications in the specified time range.

SNClassification

The model’s classification of the analyzed sound combined with its level of confidence in that classification.