Android.App.Backup.BackupAgentHelper.AddHelper Method
Add a helper for a given data subset to the agent's configuration.

Syntax

[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, IBackupHelper helper)

Parameters

keyPrefix
A string used to disambiguate the various helpers within this agent
helper
A backup/restore helper object to be invoked during backup and restore operations.

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.

[Android Documentation]

Requirements

Namespace: Android.App.Backup
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8