|
| static bool | SafeCall (this AndroidJavaObject obj, string methodName, params object[] args) |
| | Calls a void method on a native object using method name with optional arguments.
|
| |
| static ReturnType | SafeCall< ReturnType > (this AndroidJavaObject obj, string methodName, params object[] args) |
| | Calls a method on a native object using method name with optional parameters, and returns the result.
|
| |
| static bool | SafeCallStatic (this AndroidJavaObject obj, string methodName, params object[] args) |
| | Calls a static void method on a native object using method name with optional arguments.
|
| |
| static ReturnType | SafeCallStatic< ReturnType > (this AndroidJavaObject obj, string methodName, params object[] args) |
| | Calls a static method on a native object using method name with optional arguments, and returns the result.
|
| |
| static ReturnType | SafeGet< ReturnType > (this AndroidJavaObject obj, string fieldName) |
| | Gets a field of a native object.
|
| |
| static ReturnType | SafeGetStatic< ReturnType > (this AndroidJavaObject obj, string fieldName) |
| | Gets a static field of a native object.
|
| |
|
| const string | TAG = "SafeJNI" |
| |
Definition at line 6 of file SafeJNI.cs.
◆ SafeCall()
| static bool PixoVR.Apex.SafeJNI.SafeCall |
( |
this AndroidJavaObject | obj, |
|
|
string | methodName, |
|
|
params object[] | args ) |
|
inlinestatic |
Calls a void method on a native object using method name with optional arguments.
- Parameters
-
- Returns
- Success: true. Failure: false
Definition at line 85 of file SafeJNI.cs.
◆ SafeCall< ReturnType >()
Calls a method on a native object using method name with optional parameters, and returns the result.
- Template Parameters
-
| ReturnType | The type as which the result should be returned. |
- Parameters
-
- Returns
- Success: The field value. Failure: Default type value.
Definition at line 120 of file SafeJNI.cs.
◆ SafeCallStatic()
| static bool PixoVR.Apex.SafeJNI.SafeCallStatic |
( |
this AndroidJavaObject | obj, |
|
|
string | methodName, |
|
|
params object[] | args ) |
|
inlinestatic |
Calls a static void method on a native object using method name with optional arguments.
- Parameters
-
- Returns
- Success: true. Failure: false
Definition at line 17 of file SafeJNI.cs.
◆ SafeCallStatic< ReturnType >()
Calls a static method on a native object using method name with optional arguments, and returns the result.
- Template Parameters
-
| ReturnType | The type as which the result should be returned. |
- Parameters
-
- Returns
- Success: The JNI result. Failure: Default type value.
Definition at line 52 of file SafeJNI.cs.
◆ SafeGet< ReturnType >()
| static ReturnType PixoVR.Apex.SafeJNI.SafeGet< ReturnType > |
( |
this AndroidJavaObject | obj, |
|
|
string | fieldName ) |
|
inlinestatic |
Gets a field of a native object.
- Template Parameters
-
| ReturnType | The type as which the field should be retrieved. |
- Parameters
-
- Returns
- Success: The field value. Failure: Default type value.
Definition at line 183 of file SafeJNI.cs.
◆ SafeGetStatic< ReturnType >()
| static ReturnType PixoVR.Apex.SafeJNI.SafeGetStatic< ReturnType > |
( |
this AndroidJavaObject | obj, |
|
|
string | fieldName ) |
|
inlinestatic |
Gets a static field of a native object.
- Template Parameters
-
| ReturnType | The type as which the field should be retrieved. |
- Parameters
-
- Returns
- Success: The field value. Failure: Default type value.
Definition at line 153 of file SafeJNI.cs.
◆ TAG
| const string PixoVR.Apex.SafeJNI.TAG = "SafeJNI" |
|
staticprivate |
The documentation for this class was generated from the following file: