Interface INUIEditVoiceShortcutViewControllerDelegate


  • public interface INUIEditVoiceShortcutViewControllerDelegate
    API-Since: 12.0
    • Method Detail

      • editVoiceShortcutViewControllerDidDeleteVoiceShortcutWithIdentifier

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

        void editVoiceShortcutViewControllerDidUpdateVoiceShortcutError​(@NotNull
                                                                        @NotNull INUIEditVoiceShortcutViewController controller,
                                                                        @Nullable
                                                                        @Nullable INVoiceShortcut voiceShortcut,
                                                                        @Nullable
                                                                        @Nullable 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​(@NotNull
                                                      @NotNull 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.