public class AccountManagerBackupHelper extends BlobBackupHelper
Constructor and Description |
---|
AccountManagerBackupHelper() |
Modifier and Type | Method and Description |
---|---|
protected void |
applyRestoredPayload(String key,
byte[] payload)
Given a byte array that was restored from backup, do whatever is appropriate
to apply that described state in the live system.
|
protected byte[] |
getBackupPayload(String key)
Generate and return the byte array containing the backup payload describing
the current data state.
|
performBackup, restoreEntity, writeNewStateDescription
protected byte[] getBackupPayload(String key)
BlobBackupHelper
getBackupPayload
in class BlobBackupHelper
null
if the current state is empty or undefined.protected void applyRestoredPayload(String key, byte[] payload)
BlobBackupHelper
applyRestoredPayload
in class BlobBackupHelper
payload
- The byte array that was passed to #getBackupPayload()
on the ancestral device.