BitmapEncodeOptions

class BitmapEncodeOptions

Contains options for encoding screenshots.

Parameters

width

maximum width of an encoded screenshot, default is 250.

compressQuality

quality of an encoded screenshot, ranging from 0 to 100, default is 20.

Types

Builder
Link copied to clipboard
class Builder

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Indicates whether some other object is "equal to" this one.
hashCode
Link copied to clipboard
open override fun hashCode(): Int
Returns a hash code value for the object.
toBuilder
Link copied to clipboard
fun toBuilder(): BitmapEncodeOptions.Builder
toString
Link copied to clipboard
open override fun toString(): String
Returns a string representation of the object.

Properties

compressQuality
Link copied to clipboard
val compressQuality: Int
quality of an encoded screenshot, ranging from 0 to 100, default is 20.
width
Link copied to clipboard
val width: Int
maximum width of an encoded screenshot, default is 250.