app / me.argraur.notes.helpers / BackupAgent

BackupAgent

class BackupAgent : BackupAgent

Constructors

<init>

BackupAgent()

Functions

onBackup

Send log message when backup started

fun onBackup(oldState: ParcelFileDescriptor?, data: BackupDataOutput?, newState: ParcelFileDescriptor?): Unit

onRestore

Send log message when restore finished

fun onRestore(data: BackupDataInput?, appVersionCode: Int, newState: ParcelFileDescriptor?): Unit

onRestoreFinished

Updates notes when restore finished.

fun onRestoreFinished(): Unit