BeginFrameResponse

@Serializable
data class BeginFrameResponse(val hasDamage: Boolean, val screenshotData: String? = null)

Response type for the HeadlessExperimentalDomain.beginFrame command.

Constructors

Link copied to clipboard
constructor(hasDamage: Boolean, screenshotData: String? = null)

Properties

Link copied to clipboard

Whether the BeginFrame resulted in damage and, thus, a new frame was committed to the display. Reported for diagnostic uses, may be removed in the future.

Link copied to clipboard
val screenshotData: String? = null

Base64-encoded image data of the screenshot, if one was requested and successfully taken. (Encoded as a base64 string when passed over JSON)