android-BackupAgent如何工作?
作者:互联网
我正在查看AndroidManifest文件,并且看到android:backupAgent的条目,并且根据文档android:backupAgent是
The name of the class implementing BackupAgent to manage backup and restore of the application’s settings to external storage.
但是我找不到BackupAgent接口或任何其他文档.有人可以指出我正确的方向吗?
解决方法:
BackupAgent的API尚未固化,因此它是一个隐藏的类. You can check it out on Android’s git,有此注释:
/**
* This is the central interface between an application and Android's
* settings backup mechanism.
*
* @hide pending API solidification
*/
标签:android-manifest,android-backup-service,android 来源: https://codeday.me/bug/20191106/2001893.html