Builder

class Builder

Build your BitmapEncodeOptions.

Constructors

Link copied to clipboard
fun Builder()

Functions

Link copied to clipboard
fun build(): BitmapEncodeOptions

Build the object.

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

Updates quality of an encoded screenshot, default is 20.

Link copied to clipboard
fun width(@IntRange(from = 1) width: Int): BitmapEncodeOptions.Builder

Updates maximum width of an encoded screenshot, default is 250.