Interface INUIEditVoiceShortcutViewControllerDelegate


  • public interface INUIEditVoiceShortcutViewControllerDelegate
    • Method Detail

      • editVoiceShortcutViewControllerDidDeleteVoiceShortcutWithIdentifier

        void editVoiceShortcutViewControllerDidDeleteVoiceShortcutWithIdentifier​(INUIEditVoiceShortcutViewController controller,
                                                                                 NSUUID deletedVoiceShortcutIdentifier)
        Called if the user deletes the voice shortcut. Your implementation of this method should dismiss the view controller.
      • editVoiceShortcutViewControllerDidUpdateVoiceShortcutError

        void editVoiceShortcutViewControllerDidUpdateVoiceShortcutError​(INUIEditVoiceShortcutViewController controller,
                                                                        INVoiceShortcut voiceShortcut,
                                                                        NSError error)
        Called if the user updates the voice shortcut, with either the successfully-updated voice shortcut, or an error. Your implementation of this method should dismiss the view controller.
      • editVoiceShortcutViewControllerDidCancel

        void editVoiceShortcutViewControllerDidCancel​(INUIEditVoiceShortcutViewController controller)
        Called if the user cancelled; no changes were made to the voice shortcut. Your implementation of this method should dismiss the view controller.