Share via


JNIEnv.AllocObject Method

Definition

Overloads

AllocObject(IntPtr)
AllocObject(String)
AllocObject(Type)

AllocObject(IntPtr)

public static IntPtr AllocObject (IntPtr jclass);
static member AllocObject : nativeint -> nativeint

Parameters

jclass
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

AllocObject(String)

public static IntPtr AllocObject (string jniClassName);
static member AllocObject : string -> nativeint

Parameters

jniClassName
String

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

AllocObject(Type)

public static IntPtr AllocObject (Type type);
static member AllocObject : Type -> nativeint

Parameters

type
Type

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