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