create Note
abstract fun createNote(text: String?, category: String?, additionalDescription: String? = null, position: Int? = 0, listener: RainbowListener<Note, NoteRepository.CreateNoteError>? = null)
Creates a Note associated with a specific category.
The newly created Note is returned in the listener's onSuccess method. noteList will also be notified when the note is added to the list. See also the createNoteFromMessage method.
Parameters
text
String The content of the note.
category
String The category of the note.
additional Description
String The additional description of the note.
position
Int The position of the note.
listener
RainbowListener<Note, UserRepository.CreateNoteError> (optional) callback invoked upon completion of the operation. Set to null if not required.