compressQuality

fun compressQuality(@IntRange(from = 0, to = 100) compressQuality: Int): BitmapEncodeOptions.Builder

Updates quality of an encoded screenshot, default is 20.

Throws

if width is outside 0, 100.