BackupAgentHelper.AddHelper(String, IBackupHelper) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Add a helper for a given data subset to the agent's configuration.
[Android.Runtime.Register("addHelper", "(Ljava/lang/String;Landroid/app/backup/BackupHelper;)V", "GetAddHelper_Ljava_lang_String_Landroid_app_backup_BackupHelper_Handler")]
public virtual void AddHelper (string? keyPrefix, Android.App.Backup.IBackupHelper? helper);
[<Android.Runtime.Register("addHelper", "(Ljava/lang/String;Landroid/app/backup/BackupHelper;)V", "GetAddHelper_Ljava_lang_String_Landroid_app_backup_BackupHelper_Handler")>]
abstract member AddHelper : string * Android.App.Backup.IBackupHelper -> unit
override this.AddHelper : string * Android.App.Backup.IBackupHelper -> unit
Parameters
- keyPrefix
- String
A string used to disambiguate the various helpers within this agent
- helper
- IBackupHelper
A backup/restore helper object to be invoked during backup and restore operations.
- Attributes
Remarks
Add a helper for a given data subset to the agent's configuration. Each helper must have a prefix string that is unique within this backup agent's set of helpers.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.