Share via


FileBackupHelper Constructors

Definition

Overloads

FileBackupHelper(Context, String[])

Construct a helper to manage backup/restore of entire files within the application's data directory hierarchy.

FileBackupHelper(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

FileBackupHelper(Context, String[])

Construct a helper to manage backup/restore of entire files within the application's data directory hierarchy.

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;[Ljava/lang/String;)V", "")]
public FileBackupHelper (Android.Content.Context? context, params string[]? files);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;[Ljava/lang/String;)V", "")>]
new Android.App.Backup.FileBackupHelper : Android.Content.Context * string[] -> Android.App.Backup.FileBackupHelper

Parameters

context
Context

The backup agent's Context object

files
String[]

A list of the files to be backed up or restored.

Attributes

Remarks

Java documentation for android.app.backup.FileBackupHelper.FileBackupHelper(android.content.Context, java.lang.String).

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.

Applies to

FileBackupHelper(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected FileBackupHelper (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.App.Backup.FileBackupHelper : nativeint * Android.Runtime.JniHandleOwnership -> Android.App.Backup.FileBackupHelper

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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.

Applies to