Language

JNIEnv.FinishCreateInstance Method

Definition

Overloads

Name Description
FinishCreateInstance(IntPtr, String, JValue*)

Invokes the selected Java constructor on the allocated object.

FinishCreateInstance(IntPtr, String, JValue[])

Invokes the selected Java constructor on the allocated object.

FinishCreateInstance(IntPtr, IntPtr, IntPtr, JValue*)

Invokes the selected Java constructor on the allocated object.

FinishCreateInstance(IntPtr, IntPtr, IntPtr, JValue[])

Invokes the selected Java constructor on the allocated object.

FinishCreateInstance(IntPtr, String, JValue*)

Invokes the selected Java constructor on the allocated object.

public static void FinishCreateInstance(IntPtr instance, string jniCtorSignature, Android.Runtime.JValue* constructorParameters);
static member FinishCreateInstance : nativeint * string * nativeptr<Android.Runtime.JValue> -> unit

Parameters

instance
IntPtr

nativeint

A live JNI reference to the allocated object, usable on the calling thread during the call.

jniCtorSignature
String

The JNI signature of a void-returning constructor that matches the arguments.

constructorParameters
JValue*

A pointer to the constructor arguments in JNI order and types. The storage and referenced objects must remain valid during the call.

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

FinishCreateInstance(IntPtr, String, JValue[])

Invokes the selected Java constructor on the allocated object.

public static void FinishCreateInstance(IntPtr instance, string jniCtorSignature, params Android.Runtime.JValue[] constructorParameters);
static member FinishCreateInstance : nativeint * string * Android.Runtime.JValue[] -> unit

Parameters

instance
IntPtr

nativeint

A live JNI reference to the allocated object, usable on the calling thread during the call.

jniCtorSignature
String

The JNI signature of a void-returning constructor that matches the arguments.

constructorParameters
JValue[]

The constructor arguments in JNI order and types. Referenced objects must remain valid during the call.

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

FinishCreateInstance(IntPtr, IntPtr, IntPtr, JValue*)

Invokes the selected Java constructor on the allocated object.

public static void FinishCreateInstance(IntPtr instance, IntPtr jclass, IntPtr constructorId, Android.Runtime.JValue* constructorParameters);
static member FinishCreateInstance : nativeint * nativeint * nativeint * nativeptr<Android.Runtime.JValue> -> unit

Parameters

instance
IntPtr

nativeint

A live JNI reference to the allocated object, usable on the calling thread during the call.

jclass
IntPtr

nativeint

A live JNI class reference for the constructor, usable on the calling thread during the call.

constructorId
IntPtr

nativeint

A live instance constructor ID for jclass with a void return type and a signature that matches the arguments.

constructorParameters
JValue*

A pointer to the constructor arguments in JNI order and types. The storage and referenced objects must remain valid during the call.

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

FinishCreateInstance(IntPtr, IntPtr, IntPtr, JValue[])

Invokes the selected Java constructor on the allocated object.

public static void FinishCreateInstance(IntPtr instance, IntPtr jclass, IntPtr constructorId, params Android.Runtime.JValue[] constructorParameters);
static member FinishCreateInstance : nativeint * nativeint * nativeint * Android.Runtime.JValue[] -> unit

Parameters

instance
IntPtr

nativeint

A live JNI reference to the allocated object, usable on the calling thread during the call.

jclass
IntPtr

nativeint

A live JNI class reference for the constructor, usable on the calling thread during the call.

constructorId
IntPtr

nativeint

A live instance constructor ID for jclass with a void return type and a signature that matches the arguments.

constructorParameters
JValue[]

The constructor arguments in JNI order and types. Referenced objects must remain valid during the call.

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