-
public final class BeginFrameResponseResponse type for the HeadlessExperimentalDomain.beginFrame command.
-
-
Field Summary
Fields Modifier and Type Field Description private final BooleanhasDamageprivate final StringscreenshotData
-
Constructor Summary
Constructors Constructor Description BeginFrameResponse(Boolean hasDamage, String screenshotData)
-
Method Summary
Modifier and Type Method Description final Booleancomponent1()final Stringcomponent2()final BeginFrameResponsecopy(Boolean hasDamage, String screenshotData)final BooleangetHasDamage()Whether the BeginFrame resulted in damage and, thus, a new frame was committed to the display. final StringgetScreenshotData()Base64-encoded image data of the screenshot, if one was requested and successfully taken. -
-
Method Detail
-
component1
final Boolean component1()
-
component2
final String component2()
-
copy
final BeginFrameResponse copy(Boolean hasDamage, String screenshotData)
-
getHasDamage
final Boolean getHasDamage()
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.
-
getScreenshotData
final String getScreenshotData()
Base64-encoded image data of the screenshot, if one was requested and successfully taken. (Encoded as a base64 string when passed over JSON)
-
-
-
-