shortcutRole

shortcutRole

shortcutRole Instance Property of INRelevantShortcut The role of the relevant shortcut.

var shortcutRole: INRelevantShortcutRole { get set }

Discussion

The role provides a hint to Siri so it can provide a better experience to the user when suggesting the shortcut. The default is INRelevantShortcutRole.action.