Condividi tramite


BackupManager Constructors

Definition

Overloads

BackupManager(Context)

Constructs a BackupManager object through which the application can communicate with the Android backup system.

BackupManager(IntPtr, JniHandleOwnership)

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

BackupManager(Context)

Constructs a BackupManager object through which the application can communicate with the Android backup system.

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")]
public BackupManager (Android.Content.Context? context);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")>]
new Android.App.Backup.BackupManager : Android.Content.Context -> Android.App.Backup.BackupManager

Parameters

context
Context

The android.content.Context that was provided when one of your application's android.app.Activity Activities was created.

Attributes

Remarks

Constructs a BackupManager object through which the application can communicate with the Android backup system.

Java documentation for android.app.backup.BackupManager.BackupManager(android.content.Context).

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

BackupManager(IntPtr, JniHandleOwnership)

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

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

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