Share via


DropBoxManager Constructors

Definition

Overloads

DropBoxManager()

Create an instance for testing.

DropBoxManager(IntPtr, JniHandleOwnership)

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

DropBoxManager()

Create an instance for testing.

[Android.Runtime.Register(".ctor", "()V", "")]
protected DropBoxManager ();
Attributes

Remarks

Create an instance for testing. All methods will fail unless overridden with an appropriate mock implementation. To obtain a functional instance, use android.content.Context#getSystemService.

Java documentation for android.os.DropBoxManager.DropBoxManager().

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

DropBoxManager(IntPtr, JniHandleOwnership)

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

protected DropBoxManager (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.OS.DropBoxManager : nativeint * Android.Runtime.JniHandleOwnership -> Android.OS.DropBoxManager

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