Class

INNote

The content and metadata associated with a single note entry in your app.

Declaration

@interface INNote : NSObject

Overview

When SiriKit asks you to create a note, use an instance of this class to specify the contents of the note.

Topics

Initializing a Note Object

- initWithTitle:contents:groupName:createdDateComponents:modifiedDateComponents:identifier:

Initializes a note object with the specified contents and attributes.

Getting the Note Content

title

The title text for the note.

contents

The main content of the note.

Getting the Group Name

groupName

The user-visible name of the group that contains the note.

Getting the Modification Dates

createdDateComponents

The creation date of the note.

modifiedDateComponents

The date on which the intent most recently modified the note.

Identifying the Note

identifier

The unique identifier that you use to identify the note internally.

Relationships

Inherits From

See Also

Note Objects

INNoteContent

An abstract class that defines the types of content contained in notes.

INTextNoteContent

The textual content of a note.

INImageNoteContent

An image contained in a note.