JNIEnv.AllocObject Method
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
AllocObject(IntPtr) | |
AllocObject(String) | |
AllocObject(Type) |
AllocObject(IntPtr)
public static IntPtr AllocObject (IntPtr jclass);
static member AllocObject : nativeint -> nativeint
Parameters
- jclass
-
IntPtr
nativeint
Returns
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
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
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.