Protocol

INUIAddVoiceShortcutButtonDelegate

The protocol an object implements to receive notifications from the Siri Shortcut button.

Declaration

protocol INUIAddVoiceShortcutButtonDelegate

Topics

Presenting Shortcut Editors

func present(INUIAddVoiceShortcutViewController, for: INUIAddVoiceShortcutButton)

Tells the delegate to present the Add Shortcut view controller.

Required.

func present(INUIEditVoiceShortcutViewController, for: INUIAddVoiceShortcutButton)

Tells the delegate to present the Edit Shortcut view controller.

Required.

Relationships

Inherits From

See Also

Presenting Shortcut Editors

var shortcut: INShortcut?

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

var delegate: INUIAddVoiceShortcutButtonDelegate?

The object that receives presentation requests from the button.