public class ScreenCaptureReply extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ScreenCaptureReply.Builder
A builder for creating screen capture reply instances.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<ColorResult> |
colorResults |
| Constructor and Description |
|---|
ScreenCaptureReply() |
ScreenCaptureReply(String md5) |
ScreenCaptureReply(String md5,
byte[] png) |
ScreenCaptureReply(String md5,
List<ColorResult> colorResult) |
| Modifier and Type | Method and Description |
|---|---|
static ScreenCaptureReply.Builder |
builder()
Returns a new builder.
|
List<ColorResult> |
getColorResults()
Gets the color results of the screen capture if available.
|
String |
getMd5()
Gets the MD5 hash sum of the screen capture's png.
|
byte[] |
getPng()
Gets the png of the screen capture as a byte array.
|
boolean |
isBlank()
Returns true if the screen capture taken evaluates to a blank capture.
|
boolean |
isCrashed()
Returns true if the screen capture taken evaluates to a crashed screen capture.
|
protected List<ColorResult> colorResults
public ScreenCaptureReply()
public ScreenCaptureReply(String md5)
public ScreenCaptureReply(String md5, byte[] png)
public ScreenCaptureReply(String md5, List<ColorResult> colorResult)
public String getMd5()
public byte[] getPng()
public List<ColorResult> getColorResults()
public boolean isBlank()
public boolean isCrashed()
public static ScreenCaptureReply.Builder builder()
ScreenCaptureReply.Builder constructor.Copyright © 2012. All Rights Reserved.