Udostępnij za pośrednictwem


Object Constructors

Definition

Overloads

Object()

Constructs a new object.

Object(IntPtr, JniHandleOwnership)

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

Object()

Constructs a new object.

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

Remarks

Constructs a new object.

Java documentation for java.lang.Object.Object().

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

Object(IntPtr, JniHandleOwnership)

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

public Object (IntPtr handle, Android.Runtime.JniHandleOwnership transfer);
new Java.Lang.Object : nativeint * Android.Runtime.JniHandleOwnership -> Java.Lang.Object

Parameters

handle
IntPtr

nativeint

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

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle handle

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