setObject(_:forProperty:)
Specifies the value of a receiver’s property.
Declaration
func setObject(_ object: Any?, forProperty property: NSSpeechSynthesizer.SpeechPropertyKey) throwsParameters
- object:
The property’s new value. The supported properties are listed in
NSSpeechStatusProperty Dictionary Keys. - property:
The property to set.
Discussion
See Also
Configuring Speech Attributes
addSpeechDictionary(_:)NSSpeechSynthesizer.DictionaryKeyobject(forProperty:)NSSpeechSynthesizer.SpeechPropertyKeyNSSpeechSynthesizer.SpeechPropertyKey.CommandDelimiterKeyNSSpeechSynthesizer.SpeechPropertyKey.ErrorKeyNSSpeechSynthesizer.SpeechPropertyKey.ModeNSSpeechSynthesizer.SpeechPropertyKey.PhonemeInfoKeyNSSpeechSynthesizer.SpeechPropertyKey.StatusKeyNSSpeechSynthesizer.SpeechPropertyKey.SynthesizerInfoKeyNSSpeechSynthesizer.VoiceGender