Class: NoteRevision

NoteRevision(noteRevisionId, noteId, type, mime, title, isProtected, dateLastEdited, dateCreated, utcDateLastEdited, utcDateCreated, utcDateModified)

NoteRevision represents snapshot of note's title and content at some point in the past. It's used for seamless note versioning.

Constructor

new NoteRevision(noteRevisionId, noteId, type, mime, title, isProtected, dateLastEdited, dateCreated, utcDateLastEdited, utcDateCreated, utcDateModified)

Parameters:
Name Type Description
noteRevisionId string
noteId string
type string
mime string
title string
isProtected string
dateLastEdited string
dateCreated string
utcDateLastEdited string
utcDateCreated string
utcDateModified string
Source:

Extends

Methods

(async) getContent() → {Promise.<*>}

Source:
Returns:
Type
Promise.<*>

isStringNote() → {boolean}

Source:
Returns:
true if the note has string content (not binary)
Type
boolean

(async) setContent() → {Promise}

Source:
Returns:
Type
Promise