public class ShowSignatureCaptureResponse extends Object
Terminal.showSignatureCapture(com.six.timapi.ShowSignatureCaptureRequest)
or Terminal.showSignatureCaptureAsync(com.six.timapi.ShowSignatureCaptureRequest)
.
Immutable class.Constructor and Description |
---|
ShowSignatureCaptureResponse(Reason reason,
ImageFileFormat imageFileFormat,
int imageWidth,
int imageHeight,
byte[] imageData)
Create show signature capture response.
|
Modifier and Type | Method and Description |
---|---|
Image |
getImage()
Image object build from image data or null if image data is invalid.
|
byte[] |
getImageData()
Image data.
|
ImageFileFormat |
getImageFileFormat()
File format of image data.
|
int |
getImageHeight()
Image height in pixels.
|
int |
getImageWidth()
Image width in pixels.
|
Reason |
getReason()
Reason for closing dialog
|
String |
toString()
String representation for debugging purpose.
|
public ShowSignatureCaptureResponse(Reason reason, ImageFileFormat imageFileFormat, int imageWidth, int imageHeight, byte[] imageData) throws IOException
IOException
- Failed creating image.public Reason getReason()
public ImageFileFormat getImageFileFormat()
public int getImageWidth()
public int getImageHeight()
public byte[] getImageData()
public Image getImage()