SoundAnalysis iOS 12.4 to 13.0 API Differences
SNAnalyzer.h
Added
SNAudioStreamAnalyzer
Added
-[SNAudioStreamAnalyzer initWithFormat:]
Added
-[SNAudioStreamAnalyzer addRequest:withObserver:error:]
Added
-[SNAudioStreamAnalyzer removeRequest:]
Added
-[SNAudioStreamAnalyzer removeAllRequests]
Added
-[SNAudioStreamAnalyzer analyzeAudioBuffer:atAudioFramePosition:]
Added
-[SNAudioStreamAnalyzer completeAnalysis]
Added
SNAudioFileAnalyzer
Added
-[SNAudioFileAnalyzer initWithURL:error:]
Added
-[SNAudioFileAnalyzer addRequest:withObserver:error:]
Added
-[SNAudioFileAnalyzer removeRequest:]
Added
-[SNAudioFileAnalyzer removeAllRequests]
Added
-[SNAudioFileAnalyzer analyze]
Added
-[SNAudioFileAnalyzer analyzeWithCompletionHandler:]
Added
-[SNAudioFileAnalyzer cancelAnalysis]
SNClassificationResult.h
Added
SNClassification
Added
SNClassification.identifier
Added
SNClassification.confidence
Added
SNClassificationResult
Added
SNClassificationResult.classifications
Added
SNClassificationResult.timeRange
SNClassifySoundRequest.h
Added
SNClassifySoundRequest
Added
SNClassifySoundRequest.overlapFactor
Added
-[SNClassifySoundRequest initWithMLModel:error:]
SNDefines.h
Added
#def SN_EXPORT
SNError.h
Added
SNErrorDomain
Added
SNErrorCode
Added
SNErrorCodeUnknownError
Added
SNErrorCodeOperationFailed
Added
SNErrorCodeInvalidFormat
Added
SNErrorCodeInvalidModel
Added
SNErrorCodeInvalidFile
SNRequest.h
Added
SNRequest
SNResult.h
Added
SNResult
Added
SNResultsObserving
Added
-[SNResultsObserving request:didProduceResult:]
Added
-[SNResultsObserving request:didFailWithError:]
Added
-[SNResultsObserving requestDidComplete:]