JavaObject 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
| Name | Description |
|---|---|
| JavaObject() |
Constructs a new object. |
| JavaObject(JniObjectReference, JniObjectReferenceOptions) |
Initializes a managed object peer through the runtime's construction policy. |
JavaObject()
Constructs a new object.
[Java.Interop.JniConstructorSignature("()V")]
public JavaObject();
- Attributes
Remarks
Constructs a new object.
Java reference 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
JavaObject(JniObjectReference, JniObjectReferenceOptions)
Initializes a managed object peer through the runtime's construction policy.
public JavaObject(ref Java.Interop.JniObjectReference reference, Java.Interop.JniObjectReferenceOptions options);
new Java.Interop.JavaObject : JniObjectReference * Java.Interop.JniObjectReferenceOptions -> Java.Interop.JavaObject
Parameters
- reference
- JniObjectReference
The source JNI peer reference.
- options
- JniObjectReferenceOptions
Reference-transfer and peer-registration options passed to the runtime.
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.