Initializes the intent object with the specified note content.
- iOS 11.0+
- Mac Catalyst 13.0+
- watchOS 4.0+
The title text to apply to the note.
The content of the note.
The name of the group in which to store the note. Group names correspond to folders or other means of organizing notes within your app.
An initialized intent object or
nil if the object could not be created.
Normally, you don’t create instances of this class yourself. Instead, SiriKit creates instances when the user asks to create a note. However, you can use this method during testing to create intent objects in order to validate your intent handling code paths.