e.g. this WebSettings Java class.
It has a Java method setJavaScriptEnabled(boolean)
that turns into a Kotlin property javaScriptEnabled
as below, but there is also setSupportZoom(boolean)
that does not turn into a Kotlin property supportZoom
.
settings.javaScriptEnabled = true
settings.domStorageEnabled = true
settings.setSupportZoom(false)
settings.builtInZoomControls = false
settings.setSupportMultipleWindows(true)
From the documentation:
And still as of Kotlin 1.2.0:
There is no method in the Java class of signature
boolean isSupportMultipleWindows()
andboolean supportMultipleWindows()
does not match the property representation in Kotlin.