---
title: SNClassificationResult
framework: soundanalysis
role: symbol
role_heading: Class
path: soundanalysis/snclassificationresult
---

# SNClassificationResult

A result that contains the highest-ranking classifications in a time range.

## Declaration

```swift
class SNClassificationResult
```

## Overview

Overview An SNClassificationResult represents the predictions that a sound classification model made for a time span in an audio file or stream. Each result contains one or more classification predictions and a time range within the audio data. An audio analyzer, such as SNAudioFileAnalyzer and SNAudioStreamAnalyzer, produces an SNClassificationResult each time it recognizes a sound for any of its SNClassifySoundRequest instances.

## Topics

### Inspecting the Result

- [timeRange](soundanalysis/snclassificationresult/timerange.md)
- [classifications](soundanalysis/snclassificationresult/classifications.md)
- [SNClassification](soundanalysis/snclassification.md)
- [classification(forIdentifier:)](soundanalysis/snclassificationresult/classification(foridentifier:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [SNResult](soundanalysis/snresult.md)

## See Also

### Sound classification requests

- [Classifying Live Audio Input with a Built-in Sound Classifier](soundanalysis/classifying-live-audio-input-with-a-built-in-sound-classifier.md)
- [SNClassifySoundRequest](soundanalysis/snclassifysoundrequest.md)
