Instance Property

spokenPhrase

The phrase identified by Siri.

Required.

Declaration

var spokenPhrase: String { get }

Discussion

Typically, this phrase corresponds to a custom term defined in the AppIntentVocabulary.plist file of your Intents extension, but it may also be a custom phrase spoken by the user. In both cases, it represents a term that you must resolve as part of handling an intent. For example, it might contain a workout name that you must resolve.

See Also

Getting the Spoken Attributes

var pronunciationHint: String?

A hint at how the spoken phrase is pronounced.

Required.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software