classification(forIdentifier:)
Returns the classification for an identifier.
Declaration
func classification(forIdentifier identifier: String) -> SNClassification?Parameters
- identifier:
A sound classification label.
Return Value
A sound classification with a corresponding identifier if it exists in the result; otherwise, nil.
Discussion
The identifier parameter corresponds to the identifier property in an SNClassification.