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


class SNClassificationResult : NSObject


Inspecting the Result

var classifications: [SNClassification]

The top classification candidates, sorted by their confidence score.

var timeRange: CMTimeRange

The time range in the client-provided audio stream to which this classification result corresponds.


Inherits From

See Also

Configuration and Classification

class SNClassifySoundRequest

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

protocol SNResultsObserving

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

class SNClassification

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