Package apple.intentsui.protocol
Interface INUIEditVoiceShortcutViewControllerDelegate
-
public interface INUIEditVoiceShortcutViewControllerDelegateAPI-Since: 12.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voideditVoiceShortcutViewControllerDidCancel(@NotNull INUIEditVoiceShortcutViewController controller)Called if the user cancelled; no changes were made to the voice shortcut.voideditVoiceShortcutViewControllerDidDeleteVoiceShortcutWithIdentifier(@NotNull INUIEditVoiceShortcutViewController controller, @NotNull NSUUID deletedVoiceShortcutIdentifier)Called if the user deletes the voice shortcut.voideditVoiceShortcutViewControllerDidUpdateVoiceShortcutError(@NotNull INUIEditVoiceShortcutViewController controller, @Nullable INVoiceShortcut voiceShortcut, @Nullable NSError error)Called if the user updates the voice shortcut, with either the successfully-updated voice shortcut, or an error.
-
-
-
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.
-
-