Instance Method

initWithVocabularyIdentifier:spokenPhrase:pronunciationHint:

Initializes the string with a phrase from your app's vocabulary.

Declaration

- (instancetype)initWithVocabularyIdentifier:(NSString *)vocabularyIdentifier spokenPhrase:(NSString *)spokenPhrase pronunciationHint:(NSString *)pronunciationHint;

Parameters

vocabularyIdentifier

The identifier of a phrase that your app registered as part of its vocabulary.

spokenPhrase

The spoken phrase associated with that vocabulary.

pronunciationHint

A hint at how the spoken phrase is pronounced. This string is not a phonetic spelling of the original phrase, but is a string that has an equivalent sound when spoken. For example, the phrase “iTunes” could have “eye toons” as its pronunciation string.

Return Value

An initialized speakable string object.

See Also

Initializing a Speakable String

- initWithSpokenPhrase:

Initializes the string with the specified phrase.

- initWithIdentifier:spokenPhrase:pronunciationHint:

Initializes the string with the specified identifier and phrase information.

Deprecated