allowHardware

fun <Error class: unknown class>.allowHardware(enable: Boolean): <Error class: unknown class>

Allow the use of Bitmap.Config.HARDWARE.

If false, any use of Bitmap.Config.HARDWARE will be treated as Bitmap.Config.ARGB_8888.

NOTE: Setting this to false this will reduce performance on API 26 and above. Only disable this if necessary.


fun <Error class: unknown class>.allowHardware(enable: Boolean): <Error class: unknown class>
val <Error class: unknown class>.allowHardware: Boolean
val <Error class: unknown class>.allowHardware: Boolean
val <Error class: unknown class>.allowHardware: <Error class: unknown class><Boolean>