Partager via


JNIEnv.NewObject Method

Definition

Overloads

NewObject(IntPtr, IntPtr, JValue*)
NewObject(IntPtr, IntPtr, JValue[])
NewObject(IntPtr, IntPtr)

NewObject(IntPtr, IntPtr, JValue*)

public static IntPtr NewObject (IntPtr jclass, IntPtr jmethod, Android.Runtime.JValue* parms);
static member NewObject : nativeint * nativeint * nativeptr<Android.Runtime.JValue> -> nativeint

Parameters

jclass
IntPtr

nativeint

jmethod
IntPtr

nativeint

parms
JValue*

Returns

IntPtr

nativeint

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

NewObject(IntPtr, IntPtr, JValue[])

public static IntPtr NewObject (IntPtr jclass, IntPtr jmethod, params Android.Runtime.JValue[] parms);
static member NewObject : nativeint * nativeint * Android.Runtime.JValue[] -> nativeint

Parameters

jclass
IntPtr

nativeint

jmethod
IntPtr

nativeint

parms
JValue[]

Returns

IntPtr

nativeint

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

NewObject(IntPtr, IntPtr)

public static IntPtr NewObject (IntPtr jclass, IntPtr jmethod);
static member NewObject : nativeint * nativeint -> nativeint

Parameters

jclass
IntPtr

nativeint

jmethod
IntPtr

nativeint

Returns

IntPtr

nativeint

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