Class AndroidJavaObject
Inheritance
AndroidJavaObject
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
Properties
|
Improve this Doc
View Source
JavaLangClass
Declaration
protected static AndroidJavaClass JavaLangClass { get; }
Property Value
Methods
|
Improve this Doc
View Source
_Call(String, Object[])
Declaration
protected void _Call(string methodName, params object[] args)
Parameters
|
Improve this Doc
View Source
_Call<ReturnType>(String, Object[])
Declaration
protected ReturnType _Call<ReturnType>(string methodName, params object[] args)
Parameters
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
|
Improve this Doc
View Source
_CallStatic<ReturnType>(String, Object[])
Declaration
protected ReturnType _CallStatic<ReturnType>(string methodName, params object[] args)
Parameters
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
|
Improve this Doc
View Source
_GetRawObject()
Declaration
protected IntPtr _GetRawObject()
Returns
|
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
|
Improve this Doc
View Source
Call<ReturnType>(String, Object[])
Declaration
public ReturnType Call<ReturnType>(string methodName, params object[] args)
Parameters
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
|
Improve this Doc
View Source
CallStatic<ReturnType>(String, Object[])
Declaration
public ReturnType CallStatic<ReturnType>(string methodName, params object[] args)
Parameters
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
|
Improve this Doc
View Source
Dispose()
Declaration
|
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
|
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
|
Improve this Doc
View Source
GetRawObject()
Declaration
public IntPtr GetRawObject()
Returns
|
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
Extension Methods