updateNote

abstract fun updateNote(note: Note, newCategory: String? = null, newPosition: Int? = null, listener: RainbowListener<Unit, Unit>? = null)

Updates a Note category.

Parameters

note

The Note to update.

newCategory

String The new category of the note, or null to keep the current category.

newPosition

Int The new position of the note, or null to keep the current position.

listener

RainbowListener (optional) callback invoked upon completion of the operation. Set to null if not required.