Class

INCreateNoteIntentResponse

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

Declaration

@interface INCreateNoteIntentResponse : INIntentResponse

Overview

Use an INCreateNoteIntentResponse object to return information about the note that your app created. Siri communicates the information from your app’s response to the user at appropriate times.

You create an INCreateNoteIntentResponse object in the confirmCreateNote:completion: and handleCreateNote:completion: methods of your handler object. For more information about implementing your handler object, see INCreateNoteIntentHandling.

Topics

Initializing the Response Object

- initWithCode:userActivity:

Initializes the response object with the specified code and user activity object.

Getting the Response Code

code

The code indicating whether you successfully handled the intent.

INCreateNoteIntentResponseCode

Constants indicating the state of the response.

Accessing the Note Content

createdNote

The details of the note that you created.

Relationships

Inherits From

See Also

Create Note

INCreateNoteIntentHandling

The handler interface for creating notes.

INCreateNoteIntent

A request to create a new note.