Low-level wrapper for a Java object accessed via JNI. These methods map directly to the corresponding JNI functions. See the JNI documentation for more information.

Implemented by

Constructors

JniObject()

Properties

hashCode → int

Get a hash code for this object.

read-only, inherited
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) → bool

The equality operator.

inherited

Methods

callBooleanMethod(int methodId, List args) → bool

callByteMethod(int methodId, List args) → int

callCharMethod(int methodId, List args) → int

callDoubleMethod(int methodId, List args) → double

callFloatMethod(int methodId, List args) → double

callIntMethod(int methodId, List args) → int

callLongMethod(int methodId, List args) → int

callObjectMethod(int methodId, List args) → JniObject

callShortMethod(int methodId, List args) → int

callVoidMethod(int methodId, List args) → void

getBooleanField(int fieldId) → bool

getByteField(int fieldId) → int

getCharField(int fieldId) → int

getDoubleField(int fieldId) → double

getFloatField(int fieldId) → double

getIntField(int fieldId) → int

getLongField(int fieldId) → int

getObjectClass() → JniClass

getObjectField(int fieldId) → JniObject

getShortField(int fieldId) → int

setBooleanField(int fieldId, bool value) → void

setByteField(int fieldId, int value) → void

setCharField(int fieldId, int value) → void

setDoubleField(int fieldId, double value) → void

setFloatField(int fieldId, double value) → void

setIntField(int fieldId, int value) → void

setLongField(int fieldId, int value) → void

setObjectField(int fieldId, JniObject value) → void

setShortField(int fieldId, int value) → void

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() → String

Returns a string representation of this object.

inherited