Class

INVoiceShortcut

A shortcut the user added to Siri.

Declaration

class INVoiceShortcut : NSObject

Overview

To add a shortcut to Siri, create an INShortcut object and add it using INUIAddVoiceShortcutViewController. You don't create an instance of INVoiceShortcut; the system creates the instance for you when an instance is needed.

Topics

Accessing Shortcut Information

var identifier: UUID

The unique identifier for the shortcut.

var invocationPhrase: String

The phrase the user speaks to invoke the shortcut.

var shortcut: INShortcut

The shortcut Siri invokes when the user speaks the invocation phrase.

Relationships

Inherits From

See Also

Manage Shortcuts

class INVoiceShortcutCenter

Retrieve the user's shortcuts and make shortcut suggestions.