Show / Hide Table of Contents

Class AndroidJNIHelper

Inheritance
Object
AndroidJNIHelper
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEngine
Assembly: UnityEngine.dll
Syntax
public class AndroidJNIHelper

Properties

| Improve this Doc View Source

debug

Declaration
public static bool debug { get; set; }
Property Value
Type Description
Boolean

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
Type Description
IntPtr
| Improve this Doc View Source

CreateJavaProxy(AndroidJavaProxy)

Declaration
public static IntPtr CreateJavaProxy(AndroidJavaProxy proxy)
Parameters
Type Name Description
AndroidJavaProxy proxy
Returns
Type Description
IntPtr
| Improve this Doc View Source

CreateJavaRunnable(AndroidJavaRunnable)

Declaration
public static IntPtr CreateJavaRunnable(AndroidJavaRunnable jrunnable)
Parameters
Type Name Description
AndroidJavaRunnable jrunnable
Returns
Type Description
IntPtr
| Improve this Doc View Source

CreateJNIArgArray(Object[])

Declaration
public static jvalue[] CreateJNIArgArray(object[] args)
Parameters
Type Name Description
Object[] args
Returns
Type Description
jvalue[]
| Improve this Doc View Source

DeleteJNIArgArray(Object[], jvalue[])

Declaration
public static void DeleteJNIArgArray(object[] args, jvalue[] jniArgs)
Parameters
Type Name Description
Object[] args
jvalue[] jniArgs
| Improve this Doc View Source

GetConstructorID(IntPtr)

Declaration
public static IntPtr GetConstructorID(IntPtr javaClass)
Parameters
Type Name Description
IntPtr javaClass
Returns
Type Description
IntPtr
| Improve this Doc View Source

GetConstructorID(IntPtr, Object[])

Declaration
public static IntPtr GetConstructorID(IntPtr jclass, object[] args)
Parameters
Type Name Description
IntPtr jclass
Object[] args
Returns
Type Description
IntPtr
| Improve this Doc View Source

GetConstructorID(IntPtr, String)

Declaration
public static IntPtr GetConstructorID(IntPtr javaClass, [DefaultValue("")] string signature)
Parameters
Type Name Description
IntPtr javaClass
String signature
Returns
Type Description
IntPtr
| Improve this Doc View Source

GetFieldID(IntPtr, String)

Declaration
public static IntPtr GetFieldID(IntPtr javaClass, string fieldName)
Parameters
Type Name Description
IntPtr javaClass
String fieldName
Returns
Type Description
IntPtr
| Improve this Doc View Source

GetFieldID(IntPtr, String, String)

Declaration
public static IntPtr GetFieldID(IntPtr javaClass, string fieldName, [DefaultValue("")] string signature)
Parameters
Type Name Description
IntPtr javaClass
String fieldName
String signature
Returns
Type Description
IntPtr
| 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
Type Name Description
IntPtr javaClass
String fieldName
String signature
Boolean isStatic
Returns
Type Description
IntPtr
| Improve this Doc View Source

GetFieldID<FieldType>(IntPtr, String, Boolean)

Declaration
public static IntPtr GetFieldID<FieldType>(IntPtr jclass, string fieldName, bool isStatic)
Parameters
Type Name Description
IntPtr jclass
String fieldName
Boolean isStatic
Returns
Type Description
IntPtr
Type Parameters
Name Description
FieldType
| Improve this Doc View Source

GetMethodID(IntPtr, String)

Declaration
public static IntPtr GetMethodID(IntPtr javaClass, string methodName)
Parameters
Type Name Description
IntPtr javaClass
String methodName
Returns
Type Description
IntPtr
| Improve this Doc View Source

GetMethodID(IntPtr, String, Object[], Boolean)

Declaration
public static IntPtr GetMethodID(IntPtr jclass, string methodName, object[] args, bool isStatic)
Parameters
Type Name Description
IntPtr jclass
String methodName
Object[] args
Boolean isStatic
Returns
Type Description
IntPtr
| Improve this Doc View Source

GetMethodID(IntPtr, String, String)

Declaration
public static IntPtr GetMethodID(IntPtr javaClass, string methodName, [DefaultValue("")] string signature)
Parameters
Type Name Description
IntPtr javaClass
String methodName
String signature
Returns
Type Description
IntPtr
| 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
Type Name Description
IntPtr javaClass
String methodName
String signature
Boolean isStatic
Returns
Type Description
IntPtr
| 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
Type Name Description
IntPtr jclass
String methodName
Object[] args
Boolean isStatic
Returns
Type Description
IntPtr
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
Type Description
String
| Improve this Doc View Source

GetSignature(Object[])

Declaration
public static string GetSignature(object[] args)
Parameters
Type Name Description
Object[] args
Returns
Type Description
String
| Improve this Doc View Source

GetSignature<ReturnType>(Object[])

Declaration
public static string GetSignature<ReturnType>(object[] args)
Parameters
Type Name Description
Object[] args
Returns
Type Description
String
Type Parameters
Name Description
ReturnType

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX