setStaticBooleanField

context(env: JniEnv)
fun JClass.setStaticBooleanField(fieldID: JFieldID, value: Boolean)(source)

Sets the value of a static field of an object. The field to access is specified by a field ID, which is obtained by calling staticFieldId.

You should use this function only if the Java field you are writing has boolean type.