JNIEnv.AllocObject JNIEnv.AllocObject Method

Definition

Overloads

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

AllocObject(IntPtr) AllocObject(IntPtr)

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

Parameters

jclass
IntPtr IntPtr

Returns

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.

AllocObject(String) AllocObject(String)

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

Parameters

jniClassName
String String

Returns

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.

AllocObject(Type) AllocObject(Type)

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

Parameters

type
Type Type

Returns

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