Show / Hide Table of Contents

Class AndroidJavaObject

Inheritance
Object
AndroidJavaObject
AndroidJavaClass
Implements
IDisposable
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 AndroidJavaObject : IDisposable

Constructors

| Improve this Doc View Source

AndroidJavaObject(String, Object[])

Declaration
public AndroidJavaObject(string className, params object[] args)
Parameters
Type Name Description
String className
Object[] args

Properties

| Improve this Doc View Source

JavaLangClass

Declaration
protected static AndroidJavaClass JavaLangClass { get; }
Property Value
Type Description
AndroidJavaClass

Methods

| Improve this Doc View Source

_Call(String, Object[])

Declaration
protected void _Call(string methodName, params object[] args)
Parameters
Type Name Description
String methodName
Object[] args
| Improve this Doc View Source

_Call<ReturnType>(String, Object[])

Declaration
protected ReturnType _Call<ReturnType>(string methodName, params object[] args)
Parameters
Type Name Description
String methodName
Object[] args
Returns
Type Description
ReturnType
Type Parameters
Name Description
ReturnType
| Improve this Doc View Source

_CallStatic(String, Object[])

Declaration
protected void _CallStatic(string methodName, params object[] args)
Parameters
Type Name Description
String methodName
Object[] args
| Improve this Doc View Source

_CallStatic<ReturnType>(String, Object[])

Declaration
protected ReturnType _CallStatic<ReturnType>(string methodName, params object[] args)
Parameters
Type Name Description
String methodName
Object[] args
Returns
Type Description
ReturnType
Type Parameters
Name Description
ReturnType
| Improve this Doc View Source

_Dispose()

Declaration
protected void _Dispose()
| Improve this Doc View Source

_Get<FieldType>(String)

Declaration
protected FieldType _Get<FieldType>(string fieldName)
Parameters
Type Name Description
String fieldName
Returns
Type Description
FieldType
Type Parameters
Name Description
FieldType
| Improve this Doc View Source

_GetRawClass()

Declaration
protected IntPtr _GetRawClass()
Returns
Type Description
IntPtr
| Improve this Doc View Source

_GetRawObject()

Declaration
protected IntPtr _GetRawObject()
Returns
Type Description
IntPtr
| Improve this Doc View Source

_GetStatic<FieldType>(String)

Declaration
protected FieldType _GetStatic<FieldType>(string fieldName)
Parameters
Type Name Description
String fieldName
Returns
Type Description
FieldType
Type Parameters
Name Description
FieldType
| Improve this Doc View Source

_Set<FieldType>(String, FieldType)

Declaration
protected void _Set<FieldType>(string fieldName, FieldType val)
Parameters
Type Name Description
String fieldName
FieldType val
Type Parameters
Name Description
FieldType
| Improve this Doc View Source

_SetStatic<FieldType>(String, FieldType)

Declaration
protected void _SetStatic<FieldType>(string fieldName, FieldType val)
Parameters
Type Name Description
String fieldName
FieldType val
Type Parameters
Name Description
FieldType
| Improve this Doc View Source

Call(String, Object[])

Declaration
public void Call(string methodName, params object[] args)
Parameters
Type Name Description
String methodName
Object[] args
| Improve this Doc View Source

Call<ReturnType>(String, Object[])

Declaration
public ReturnType Call<ReturnType>(string methodName, params object[] args)
Parameters
Type Name Description
String methodName
Object[] args
Returns
Type Description
ReturnType
Type Parameters
Name Description
ReturnType
| Improve this Doc View Source

CallStatic(String, Object[])

Declaration
public void CallStatic(string methodName, params object[] args)
Parameters
Type Name Description
String methodName
Object[] args
| Improve this Doc View Source

CallStatic<ReturnType>(String, Object[])

Declaration
public ReturnType CallStatic<ReturnType>(string methodName, params object[] args)
Parameters
Type Name Description
String methodName
Object[] args
Returns
Type Description
ReturnType
Type Parameters
Name Description
ReturnType
| Improve this Doc View Source

DebugPrint(String)

Declaration
protected void DebugPrint(string msg)
Parameters
Type Name Description
String msg
| Improve this Doc View Source

DebugPrint(String, String, String, Object[])

Declaration
protected void DebugPrint(string call, string methodName, string signature, object[] args)
Parameters
Type Name Description
String call
String methodName
String signature
Object[] args
| Improve this Doc View Source

Dispose()

Declaration
public void Dispose()
| Improve this Doc View Source

Dispose(Boolean)

Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
Boolean disposing
| Improve this Doc View Source

Finalize()

Declaration
protected void Finalize()
| Improve this Doc View Source

FindClass(String)

Declaration
protected static AndroidJavaObject FindClass(string name)
Parameters
Type Name Description
String name
Returns
Type Description
AndroidJavaObject
| Improve this Doc View Source

Get<FieldType>(String)

Declaration
public FieldType Get<FieldType>(string fieldName)
Parameters
Type Name Description
String fieldName
Returns
Type Description
FieldType
Type Parameters
Name Description
FieldType
| Improve this Doc View Source

GetRawClass()

Declaration
public IntPtr GetRawClass()
Returns
Type Description
IntPtr
| Improve this Doc View Source

GetRawObject()

Declaration
public IntPtr GetRawObject()
Returns
Type Description
IntPtr
| Improve this Doc View Source

GetStatic<FieldType>(String)

Declaration
public FieldType GetStatic<FieldType>(string fieldName)
Parameters
Type Name Description
String fieldName
Returns
Type Description
FieldType
Type Parameters
Name Description
FieldType
| Improve this Doc View Source

Set<FieldType>(String, FieldType)

Declaration
public void Set<FieldType>(string fieldName, FieldType val)
Parameters
Type Name Description
String fieldName
FieldType val
Type Parameters
Name Description
FieldType
| Improve this Doc View Source

SetStatic<FieldType>(String, FieldType)

Declaration
public void SetStatic<FieldType>(string fieldName, FieldType val)
Parameters
Type Name Description
String fieldName
FieldType val
Type Parameters
Name Description
FieldType

Implements

System.IDisposable

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