JniAccessors class

Wraps over the function pointers in JniAccessorsStruct and exposes them as methods.

Available Extensions

Properties

hashCode int
The hash code for this object.
no setterinherited
ptr Pointer<JniAccessorsStruct>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

callMethod(JObjectPtr obj, JMethodIDPtr methodID, int callType, Pointer<JValue> args) JniResult
callStaticMethod(JClassPtr cls, JMethodIDPtr methodID, int callType, Pointer<JValue> args) JniResult
getArrayElement(JArrayPtr array, int index, int type) JniResult
getClass(Pointer<Char> internalName) JniClassLookupResult
getExceptionDetails(JThrowablePtr exception) → JniExceptionDetails
getField(JObjectPtr obj, JFieldIDPtr fieldID, int callType) JniResult
getFieldID(JClassPtr cls, Pointer<Char> fieldName, Pointer<Char> signature) JniPointerResult
getMethodID(JClassPtr cls, Pointer<Char> methodName, Pointer<Char> signature) JniPointerResult
getStaticField(JClassPtr cls, JFieldIDPtr fieldID, int callType) JniResult
getStaticFieldID(JClassPtr cls, Pointer<Char> fieldName, Pointer<Char> signature) JniPointerResult
getStaticMethodID(JClassPtr cls, Pointer<Char> methodName, Pointer<Char> signature) JniPointerResult
newObject(JClassPtr cls, JMethodIDPtr ctor, Pointer<JValue> args) JniResult
newObjectArray(int length, JClassPtr elementClass, JObjectPtr initialElement) JniResult
newPrimitiveArray(int length, int type) JniResult
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setBooleanArrayElement(JArrayPtr array, int index, int value) JThrowablePtr
setByteArrayElement(JArrayPtr array, int index, int value) JThrowablePtr
setCharArrayElement(JArrayPtr array, int index, int value) JThrowablePtr
setDoubleArrayElement(JArrayPtr array, int index, double value) JThrowablePtr
setFloatArrayElement(JArrayPtr array, int index, double value) JThrowablePtr
setIntArrayElement(JArrayPtr array, int index, int value) JThrowablePtr
setLongArrayElement(JArrayPtr array, int index, int value) JThrowablePtr
setShortArrayElement(JArrayPtr array, int index, int value) JThrowablePtr
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited