Package apple.intentsui.protocol
Interface INUIEditVoiceShortcutViewControllerDelegate
-
public interface INUIEditVoiceShortcutViewControllerDelegate
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voideditVoiceShortcutViewControllerDidCancel(INUIEditVoiceShortcutViewController controller)Called if the user cancelled; no changes were made to the voice shortcut.voideditVoiceShortcutViewControllerDidDeleteVoiceShortcutWithIdentifier(INUIEditVoiceShortcutViewController controller, NSUUID deletedVoiceShortcutIdentifier)Called if the user deletes the voice shortcut.voideditVoiceShortcutViewControllerDidUpdateVoiceShortcutError(INUIEditVoiceShortcutViewController controller, INVoiceShortcut voiceShortcut, 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(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.
-
-