Contents

attributes(forVoice:)

Provides the attribute dictionary of a voice.

Declaration

class func attributes(forVoice voice: NSSpeechSynthesizer.VoiceName) -> [NSSpeechSynthesizer.VoiceAttributeKey : Any]

Parameters

  • voice:

    Identifier of the voice whose attributes you want to obtain.

Return Value

Attribute dictionary of the voice identified by voiceIdentifier. The attributes keys and value types are listed in Voice Attributes Keys

See Also

Getting Speech Synthesizer Information