Class HeadlessExperimental.BeginFrameResponse

  • Enclosing class:
    HeadlessExperimental

    public static class HeadlessExperimental.BeginFrameResponse
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      BeginFrameResponse​(java.lang.Boolean hasDamage, java.util.Optional<java.lang.String> screenshotData)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Boolean getHasDamage()
      Whether the BeginFrame resulted in damage and, thus, a new frame was committed to the display.
      java.util.Optional<java.lang.String> getScreenshotData()
      Base64-encoded image data of the screenshot, if one was requested and successfully taken.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BeginFrameResponse

        public BeginFrameResponse​(java.lang.Boolean hasDamage,
                                  java.util.Optional<java.lang.String> screenshotData)
    • Method Detail

      • getHasDamage

        public java.lang.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

        public java.util.Optional<java.lang.String> getScreenshotData()
        Base64-encoded image data of the screenshot, if one was requested and successfully taken.