vocabularyIdentifier
The identifier associated with the string in your app’s custom vocabulary file.
Declaration
var vocabularyIdentifier: String? { get }Discussion
For phrases that are included in your app’s AppIntentVocabulary.plist file, this property contains the value of the VocabularyItemIdentifier key associated with that phrase. When determining the resolution for speakable strings, you can use this identifier (when present) to validate and resolve the term to a known phrase.
If the specified phrase was not defined in your vocabulary file, this property is nil.