F

deleteData

Deletes the stored document and turns syncing off on this device, so it is not uploaded again. Other devices keep what they have installed.

function deleteData(): Promise<boolean>

Returns

Promise<boolean>

Whether the document was deleted. Failures are recorded as lastError.