Type Alias

NSSpeechErrorKey

Keys that identify errors that may occur during speech synthesis.

Declaration

typedef NSString *NSSpeechErrorKey;

Discussion

Use these keys in the NSSpeechErrorsProperty dictionary.

Topics

Type Properties

NSSpeechErrorCount

The number of errors that have occurred in processing the current text string, since the last call to objectForProperty:error: with the NSSpeechErrorsProperty property. An NSNumber

NSSpeechErrorNewestCharacterOffset

The position in the text string of the most recent error that occurred since the last call to objectForProperty:error: with the NSSpeechErrorsProperty property. An NSNumber.

NSSpeechErrorNewestCode

The error code of the most recent error that occurred since the last call to objectForProperty:error: with the NSSpeechErrorsProperty property. An NSNumber

NSSpeechErrorOldestCharacterOffset

The position in the text string of the first error that occurred since the last call to objectForProperty:error: with the NSSpeechErrorsProperty property. An NSNumber

NSSpeechErrorOldestCode

The error code of the first error that occurred since the last call to objectForProperty:error: with the NSSpeechErrorsProperty property. An NSNumber

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:.

- objectForProperty:error:

Provides the value of a receiver’s property.

- 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.

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:.