Provides the attribute dictionary of a voice.
SDK
- macOS 10.3+
Framework
- App
Kit
Declaration
class func attributes(forVoice voice: NSSpeech Synthesizer.Voice Name) -> [NSSpeech Synthesizer.Voice Attribute Key : Any]
Parameters
voiceIdentifier
Identifier of the voice whose attributes you want to obtain.
Return Value
Attribute dictionary of the voice identified by voice
. The attributes keys and value types are listed in Voice Attributes Keys