Wrapper for a Java string.

Inheritance

Static Methods

create(String value) JniString

Construct a Java string from a Dart string.

unwrap(JniObject object) String

Convert a JniObject representing a Java string to a Dart string.

Constructors

JniString()

Properties

text String

Retrieve the value of the Java string represented by this object as a Dart string.

read-only
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

inherited
callByteMethod(int methodId, List args) int

inherited
callCharMethod(int methodId, List args) int

inherited
callDoubleMethod(int methodId, List args) double

inherited
callFloatMethod(int methodId, List args) double

inherited
callIntMethod(int methodId, List args) int

inherited
callLongMethod(int methodId, List args) int

inherited
callObjectMethod(int methodId, List args) JniObject

inherited
callShortMethod(int methodId, List args) int

inherited
callVoidMethod(int methodId, List args) → void

inherited
getBooleanField(int fieldId) bool

inherited
getByteField(int fieldId) int

inherited
getCharField(int fieldId) int

inherited
getDoubleField(int fieldId) double

inherited
getFloatField(int fieldId) double

inherited
getIntField(int fieldId) int

inherited
getLongField(int fieldId) int

inherited
getObjectClass() JniClass

inherited
getObjectField(int fieldId) JniObject

inherited
getShortField(int fieldId) int

inherited
noSuchMethod(Invocation invocation) → dynamic

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

inherited
setBooleanField(int fieldId, bool value) → void

inherited
setByteField(int fieldId, int value) → void

inherited
setCharField(int fieldId, int value) → void

inherited
setDoubleField(int fieldId, double value) → void

inherited
setFloatField(int fieldId, double value) → void

inherited
setIntField(int fieldId, int value) → void

inherited
setLongField(int fieldId, int value) → void

inherited
setObjectField(int fieldId, JniObject value) → void

inherited
setShortField(int fieldId, int value) → void

inherited
toString() String

Returns a string representation of this object.

inherited