Package apple.intentsui.protocol
Interface INUIAddVoiceShortcutViewControllerDelegate
-
public interface INUIAddVoiceShortcutViewControllerDelegate
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddVoiceShortcutViewControllerDidCancel(INUIAddVoiceShortcutViewController controller)Called if the user cancels the setup flow; the voice shortcut was not added.voidaddVoiceShortcutViewControllerDidFinishWithVoiceShortcutError(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.
-
-
-
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.
-
-