FileBackupHelper Constructors
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.
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
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
- 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.