getObjectField

context(env: JniEnv)
fun JObject.getObjectField(fieldID: JFieldID): JObject?(source)

Returns the value of an instance (nonstatic) field of an object. The field to access is specified by a field ID obtained by calling fieldId.

You should use this function only if the Java field you are reading has Object type.

Return

the content of the field.