RestoredAppState

class RestoredAppState(val appMetadata: ByteArray)

Restored app state — just the metadata bytes the host wrote on a previous backup. Caller MUST call wipe after handing the bytes to the host's AppDataBackupProvider.

Constructors

Link copied to clipboard
constructor(appMetadata: ByteArray)

Properties

Link copied to clipboard

App-specific state restored from backup. Empty array = no metadata was stored.

Functions

Link copied to clipboard
fun wipe()