public interface ICamera
Modifier and Type | Method and Description |
---|---|
java.io.File |
getCurrentImage(java.lang.String tmpFileName)
Gets the current image snapshot from the camera
|
java.io.File |
getCurrentImage(java.lang.String tmpFileName,
boolean showDate,
boolean showText,
java.lang.String text)
Gets the current image snapshot from the camera and overlays data onto the image based
on the input parameters.
|
java.lang.String |
getIpAddress()
Gets the IP address of the connected camera as a
String |
java.lang.String |
getModel()
Gets the model number of the connected camera as a
String |
void |
setDateTime(java.util.Calendar calendar)
Sets the date of the Camera so the the images get stamped with the proper date and time if
the showDate option is set to true in the getCurrentImage() method.
|
java.lang.String getModel()
String
java.lang.String getIpAddress()
String
java.io.File getCurrentImage(java.lang.String tmpFileName) throws java.lang.Exception
tmpFileName
- The temporary name of the file to store the camera snapshot injava.lang.Exception
- If the snapshot can not be acquiredjava.io.File getCurrentImage(java.lang.String tmpFileName, boolean showDate, boolean showText, java.lang.String text) throws java.lang.Exception
tmpFileName
- The temporary name of the file to store the camera snapshot inshowDate
- Specifies whether or not the date should be overlayed on the snapshotshowText
- Specifies whether or not some text should be overlayed on the snapshottext
- If showText is set to true, this is the text that will be overlayed on
the snapshotjava.lang.Exception
- If the snapshot can not be acquiredvoid setDateTime(java.util.Calendar calendar) throws java.lang.Exception
calendar
- The @Calendar to use to set the date of the camerajava.lang.Exception
- If the date can not be setCopyright © 2009 Eurotech Inc. All rights reserved.