C# Class UnityEngine.AndroidJavaObject

Inheritance: AndroidJNIHelper, IDisposable
ファイルを表示 Open project: randomize/VimConfig Class Usage Examples

Protected Properties

Property Type Description
m_fieldIDs IntPtr>.Dictionary
m_jclass IntPtr
m_jobject IntPtr
m_methodIDs IntPtr>.Dictionary

Public Methods

Method Description
AndroidJavaObject ( IntPtr jobject )
AndroidJavaObject ( string className, Object args )
Call ( string methodName, Object args ) : ReturnType
Call ( string methodName, Object args ) : void
CallStatic ( string methodName, Object args ) : ReturnType
CallStatic ( string methodName, Object args ) : void
Dispose ( ) : void
Get ( string fieldName ) : FieldType
GetRawClass ( ) : IntPtr
GetRawObject ( ) : IntPtr
GetStatic ( string fieldName ) : FieldType
Set ( string fieldName, FieldType val ) : void
SetStatic ( string fieldName, FieldType val ) : void

Protected Methods

Method Description
AndroidJavaObject ( )
DebugPrint ( string msg ) : void
DebugPrint ( string call, string methodName, string signature, Object args ) : void
Dispose ( bool disposing ) : void
Finalize ( ) : void
GetCachedFieldID ( string fieldName, bool isStatic ) : IntPtr
GetCachedMethodID ( string methodName, Object args, bool isStatic ) : IntPtr
GetSignatureHash ( Object args ) : int
_Call ( string methodName, Object args ) : ReturnType
_Call ( string methodName, Object args ) : void
_CallStatic ( string methodName, Object args ) : ReturnType
_CallStatic ( string methodName, Object args ) : void
_Dispose ( ) : void
_Get ( string fieldName ) : FieldType
_GetRawClass ( ) : IntPtr
_GetRawObject ( ) : IntPtr
_GetStatic ( string fieldName ) : FieldType
_Set ( string fieldName, FieldType val ) : void
_SetStatic ( string fieldName, FieldType val ) : void

Private Methods

Method Description
_AndroidJavaObject ( string className, Object args ) : void

Method Details

AndroidJavaObject() protected method

protected AndroidJavaObject ( )

AndroidJavaObject() public method

public AndroidJavaObject ( IntPtr jobject )
jobject IntPtr

AndroidJavaObject() public method

public AndroidJavaObject ( string className, Object args )
className string
args Object

Call() public method

public Call ( string methodName, Object args ) : ReturnType
methodName string
args Object
return ReturnType

Call() public method

public Call ( string methodName, Object args ) : void
methodName string
args Object
return void

CallStatic() public method

public CallStatic ( string methodName, Object args ) : ReturnType
methodName string
args Object
return ReturnType

CallStatic() public method

public CallStatic ( string methodName, Object args ) : void
methodName string
args Object
return void

DebugPrint() protected method

protected DebugPrint ( string msg ) : void
msg string
return void

DebugPrint() protected method

protected DebugPrint ( string call, string methodName, string signature, Object args ) : void
call string
methodName string
signature string
args Object
return void

Dispose() public final method

public final Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Finalize() protected method

protected Finalize ( ) : void
return void

Get() public method

public Get ( string fieldName ) : FieldType
fieldName string
return FieldType

GetCachedFieldID() protected method

protected GetCachedFieldID ( string fieldName, bool isStatic ) : IntPtr
fieldName string
isStatic bool
return IntPtr

GetCachedMethodID() protected method

protected GetCachedMethodID ( string methodName, Object args, bool isStatic ) : IntPtr
methodName string
args Object
isStatic bool
return IntPtr

GetRawClass() public method

public GetRawClass ( ) : IntPtr
return IntPtr

GetRawObject() public method

public GetRawObject ( ) : IntPtr
return IntPtr

GetSignatureHash() protected static method

protected static GetSignatureHash ( Object args ) : int
args Object
return int

GetStatic() public method

public GetStatic ( string fieldName ) : FieldType
fieldName string
return FieldType

Set() public method

public Set ( string fieldName, FieldType val ) : void
fieldName string
val FieldType
return void

SetStatic() public method

public SetStatic ( string fieldName, FieldType val ) : void
fieldName string
val FieldType
return void

_Call() protected method

protected _Call ( string methodName, Object args ) : ReturnType
methodName string
args Object
return ReturnType

_Call() protected method

protected _Call ( string methodName, Object args ) : void
methodName string
args Object
return void

_CallStatic() protected method

protected _CallStatic ( string methodName, Object args ) : ReturnType
methodName string
args Object
return ReturnType

_CallStatic() protected method

protected _CallStatic ( string methodName, Object args ) : void
methodName string
args Object
return void

_Dispose() protected method

protected _Dispose ( ) : void
return void

_Get() protected method

protected _Get ( string fieldName ) : FieldType
fieldName string
return FieldType

_GetRawClass() protected method

protected _GetRawClass ( ) : IntPtr
return IntPtr

_GetRawObject() protected method

protected _GetRawObject ( ) : IntPtr
return IntPtr

_GetStatic() protected method

protected _GetStatic ( string fieldName ) : FieldType
fieldName string
return FieldType

_Set() protected method

protected _Set ( string fieldName, FieldType val ) : void
fieldName string
val FieldType
return void

_SetStatic() protected method

protected _SetStatic ( string fieldName, FieldType val ) : void
fieldName string
val FieldType
return void

Property Details

m_fieldIDs protected_oe property

protected Dictionary m_fieldIDs
return IntPtr>.Dictionary

m_jclass protected_oe property

protected IntPtr m_jclass
return IntPtr

m_jobject protected_oe property

protected IntPtr m_jobject
return IntPtr

m_methodIDs protected_oe property

protected Dictionary m_methodIDs
return IntPtr>.Dictionary