Protocol

INCreateNoteIntentHandling

The handler interface for creating notes.

Declaration

@protocol INCreateNoteIntentHandling

Overview

Use the methods of the INCreateNoteIntentHandling protocol to resolve, confirm, and handle requests to create notes. Adopt this protocol in an object of your Intents extension that is capable of forwarding the note content to your app or note management service.

Siri delivers an INCreateNoteIntent object to your handler when the user asks to create a note using your app. The provided intent object contains the information to put into the note. Use the methods of this protocol to resolve the parameters and create the note.

Topics

Resolving the Intent Parameters

- resolveTitleForCreateNote:withCompletion:

Resolves the title of the note.

- resolveContentForCreateNote:withCompletion:

Resolves the main content of the note.

- resolveGroupNameForCreateNote:withCompletion:

Resolves the intended group of the note.

Confirming the Response

- confirmCreateNote:completion:

Confirms whether you can create the note.

Handling the Intent

- handleCreateNote:completion:

Handles the creation of a note.

Required.

Relationships

Inherits From

See Also

Create Note

INCreateNoteIntent

A request to create a new note.

INCreateNoteIntentResponse

Your app’s response to a request to create a note.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software