Interface INUIAddVoiceShortcutViewControllerDelegate


  • public interface INUIAddVoiceShortcutViewControllerDelegate
    • Method Detail

      • addVoiceShortcutViewControllerDidFinishWithVoiceShortcutError

        void addVoiceShortcutViewControllerDidFinishWithVoiceShortcutError​(INUIAddVoiceShortcutViewController controller,
                                                                           INVoiceShortcut voiceShortcut,
                                                                           NSError error)
        Called after the user finishes the setup flow for the voice shortcut, with either the successfully-added voice shortcut, or an error. Your implementation of this method should dismiss the view controller.
      • addVoiceShortcutViewControllerDidCancel

        void addVoiceShortcutViewControllerDidCancel​(INUIAddVoiceShortcutViewController controller)
        Called if the user cancels the setup flow; the voice shortcut was not added. Your implementation of this method should dismiss the view controller.