Instance Method

objectForProperty:error:

Provides the value of a receiver’s property.

Declaration

- (id)objectForProperty:(NSSpeechPropertyKey)property error:(NSError * _Nullable *)outError;

Parameters

speechProperty

Property to get.

out_error

On output, error that occurred while obtaining the value of speechProperty.

Return Value

The value of speechProperty.

Discussion

See Also

Configuring Speech Attributes

- addSpeechDictionary:

Registers the given speech dictionary with the receiver.

NSSpeechDictionaryKey

These constants identify key-value pairs used to add vocabulary to the dictionary using addSpeechDictionary:.

- setObject:forProperty:error:

Specifies the value of a receiver’s property.

NSSpeechPropertyKey

These constants are used with setObject:forProperty:error: and objectForProperty:error: to get or set the characteristics of a synthesizer.

NSSpeechCommandDelimiterKey

Keys for the command delimiters.

NSSpeechErrorKey

Keys that identify errors that may occur during speech synthesis.

NSSpeechMode

Keys for the speaking mode.

NSSpeechPhonemeInfoKey

Keys for the speech phoneme information.

NSSpeechStatusKey

Keys for the speech synthesizier status.

NSSpeechSynthesizerInfoKey

Keys for the speech synthesizier information.

NSVoiceGenderName

The following constants define voice gender attributes, which are the allowable values of the NSVoiceGender key returned by attributesForVoice:.