Added in API level 14

FullBackupDataOutput


open class FullBackupDataOutput
kotlin.Any
   ↳ android.app.backup.FullBackupDataOutput

Provides the interface through which a BackupAgent writes entire files to a full backup data set, via its BackupAgent#onFullBackup(FullBackupDataOutput) method.

Summary

Public methods
open Long

Returns the quota in bytes for the application's current backup operation.

open Int

Returns flags with additional information about the backup transport.

Public methods

getQuota

Added in API level 26
open fun getQuota(): Long

Returns the quota in bytes for the application's current backup operation. The value can vary for each operation.

getTransportFlags

Added in API level 28
open fun getTransportFlags(): Int

Returns flags with additional information about the backup transport. For supported flags see android.app.backup.BackupAgent