Class AndroidJNIHelper
Inheritance
AndroidJNIHelper
Assembly: UnityEngine.dll
Syntax
public class AndroidJNIHelper
Properties
|
Improve this Doc
View Source
debug
Declaration
public static bool debug { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
ConvertFromJNIArray<ArrayType>(IntPtr)
Declaration
public static ArrayType ConvertFromJNIArray<ArrayType>(IntPtr array)
Parameters
Type |
Name |
Description |
IntPtr |
array |
|
Returns
Type |
Description |
ArrayType |
|
Type Parameters
Name |
Description |
ArrayType |
|
|
Improve this Doc
View Source
ConvertToJNIArray(Array)
Declaration
public static IntPtr ConvertToJNIArray(Array array)
Parameters
Type |
Name |
Description |
Array |
array |
|
Returns
|
Improve this Doc
View Source
CreateJavaProxy(AndroidJavaProxy)
Declaration
public static IntPtr CreateJavaProxy(AndroidJavaProxy proxy)
Parameters
Returns
|
Improve this Doc
View Source
CreateJavaRunnable(AndroidJavaRunnable)
Declaration
public static IntPtr CreateJavaRunnable(AndroidJavaRunnable jrunnable)
Parameters
Returns
|
Improve this Doc
View Source
CreateJNIArgArray(Object[])
Declaration
public static jvalue[] CreateJNIArgArray(object[] args)
Parameters
Type |
Name |
Description |
Object[] |
args |
|
Returns
|
Improve this Doc
View Source
DeleteJNIArgArray(Object[], jvalue[])
Declaration
public static void DeleteJNIArgArray(object[] args, jvalue[] jniArgs)
Parameters
|
Improve this Doc
View Source
GetConstructorID(IntPtr)
Declaration
public static IntPtr GetConstructorID(IntPtr javaClass)
Parameters
Type |
Name |
Description |
IntPtr |
javaClass |
|
Returns
|
Improve this Doc
View Source
GetConstructorID(IntPtr, Object[])
Declaration
public static IntPtr GetConstructorID(IntPtr jclass, object[] args)
Parameters
Returns
|
Improve this Doc
View Source
GetConstructorID(IntPtr, String)
Declaration
public static IntPtr GetConstructorID(IntPtr javaClass, [DefaultValue("")] string signature)
Parameters
Returns
|
Improve this Doc
View Source
GetFieldID(IntPtr, String)
Declaration
public static IntPtr GetFieldID(IntPtr javaClass, string fieldName)
Parameters
Returns
|
Improve this Doc
View Source
GetFieldID(IntPtr, String, String)
Declaration
public static IntPtr GetFieldID(IntPtr javaClass, string fieldName, [DefaultValue("")] string signature)
Parameters
Returns
|
Improve this Doc
View Source
GetFieldID(IntPtr, String, String, Boolean)
Declaration
public static IntPtr GetFieldID(IntPtr javaClass, string fieldName, [DefaultValue("")] string signature, [DefaultValue("false")] bool isStatic)
Parameters
Returns
|
Improve this Doc
View Source
GetFieldID<FieldType>(IntPtr, String, Boolean)
Declaration
public static IntPtr GetFieldID<FieldType>(IntPtr jclass, string fieldName, bool isStatic)
Parameters
Returns
Type Parameters
Name |
Description |
FieldType |
|
|
Improve this Doc
View Source
GetMethodID(IntPtr, String)
Declaration
public static IntPtr GetMethodID(IntPtr javaClass, string methodName)
Parameters
Returns
|
Improve this Doc
View Source
GetMethodID(IntPtr, String, Object[], Boolean)
Declaration
public static IntPtr GetMethodID(IntPtr jclass, string methodName, object[] args, bool isStatic)
Parameters
Returns
|
Improve this Doc
View Source
GetMethodID(IntPtr, String, String)
Declaration
public static IntPtr GetMethodID(IntPtr javaClass, string methodName, [DefaultValue("")] string signature)
Parameters
Returns
|
Improve this Doc
View Source
GetMethodID(IntPtr, String, String, Boolean)
Declaration
public static IntPtr GetMethodID(IntPtr javaClass, string methodName, [DefaultValue("")] string signature, [DefaultValue("false")] bool isStatic)
Parameters
Returns
|
Improve this Doc
View Source
GetMethodID<ReturnType>(IntPtr, String, Object[], Boolean)
Declaration
public static IntPtr GetMethodID<ReturnType>(IntPtr jclass, string methodName, object[] args, bool isStatic)
Parameters
Returns
Type Parameters
Name |
Description |
ReturnType |
|
|
Improve this Doc
View Source
GetSignature(Object)
Declaration
public static string GetSignature(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
|
Improve this Doc
View Source
GetSignature(Object[])
Declaration
public static string GetSignature(object[] args)
Parameters
Type |
Name |
Description |
Object[] |
args |
|
Returns
|
Improve this Doc
View Source
GetSignature<ReturnType>(Object[])
Declaration
public static string GetSignature<ReturnType>(object[] args)
Parameters
Type |
Name |
Description |
Object[] |
args |
|
Returns
Type Parameters
Name |
Description |
ReturnType |
|
Extension Methods