| Package | Description |
|---|---|
| com.cognex.dataman.sdk | |
| com.cognex.mobile.barcode.sdk |
| Modifier and Type | Method and Description |
|---|---|
static DataManSystem |
DataManSystem.createDataManSystemForMXDevice(android.content.Context context)
Creates a
DataManSystem object for a connected MX device. |
static DataManSystem |
DataManSystem.createDataManSystemForMXDevice(android.content.Context context,
android.os.Handler handler)
Creates a
DataManSystem object for a connected MX device. |
static DataManSystem |
DataManSystem.createDataManSystemOverBlutooth(android.bluetooth.BluetoothDevice device)
Creates a
DataManSystem object to a Cognex Bluetooth device. |
static DataManSystem |
DataManSystem.createDataManSystemOverBlutooth(android.bluetooth.BluetoothDevice device,
android.os.Handler handler)
Creates a
DataManSystem object to a Cognex Bluetooth device. |
static DataManSystem |
DataManSystem.createDataManSystemOverCamera(android.content.Context context,
int cameraMode,
int previewOptions,
android.view.ViewGroup previewContainer)
Creates a
DataManSystem object for a Phone camera. |
static DataManSystem |
DataManSystem.createDataManSystemOverEthernet(java.net.InetAddress address)
Creates a
DataManSystem object with an underlying Ethernet transport. |
static DataManSystem |
DataManSystem.createDataManSystemOverEthernet(java.net.InetAddress address,
android.os.Handler handler)
Creates a
DataManSystem object with an underlying Ethernet transport. |
static DataManSystem |
DataManSystem.createDataManSystemOverEthernet(java.net.InetAddress address,
int port)
Creates a
DataManSystem object with an underlying Ethernet transport. |
static DataManSystem |
DataManSystem.createDataManSystemOverEthernet(java.net.InetAddress address,
int port,
android.os.Handler handler)
Creates a
DataManSystem object with an underlying Ethernet transport. |
static DataManSystem |
DataManSystem.createDataManSystemOverUsb(android.content.Context context,
android.hardware.usb.UsbDevice device)
Deprecated.
use
createDataManSystemForMXDevice |
static DataManSystem |
DataManSystem.createDataManSystemOverUsb(android.content.Context context,
android.hardware.usb.UsbDevice device,
android.os.Handler handler)
Deprecated.
use
createDataManSystemForMXDevice |
static DataManSystem |
DataManSystem.createDataManSystemOverUsbAccessory(android.content.Context context,
android.hardware.usb.UsbAccessory accessory)
Deprecated.
use
createDataManSystemForMXDevice |
static DataManSystem |
DataManSystem.createDataManSystemOverUsbAccessory(android.content.Context context,
android.hardware.usb.UsbAccessory accessory,
android.os.Handler handler)
Deprecated.
use
createDataManSystemForMXDevice |
| Modifier and Type | Method and Description |
|---|---|
void |
DataManSystem.OnBatchCommandsCompletedListener.onBatchCommandsCompleted(DataManSystem dataManSystem)
Called when a response is received from the reader, including the index of the sent command string in the list.
|
void |
DataManSystem.OnBinaryDataTransferProgressListener.onBinaryDataTransferProgress(DataManSystem dataManSystem,
com.cognex.dataman.sdk.TransferDirection direction,
int totalDataSize,
int bytesTransferred)
Called when a certain amount of binary data has been transferred.
|
void |
DataManSystem.OnCodeQualityDataArrivedListener.onCodeQualityDataArrived(DataManSystem dataManSystem,
java.lang.String codeQualityData)
Called when the code quality data has been arrived.
|
void |
DataManSystem.OnConnectedListener.onConnected(DataManSystem dataManSystem)
Called after successfully connecting to a reader.
|
void |
DataManSystem.OnConnectionErrorListener.onConnectionError(DataManSystem dataManSystem,
java.lang.Exception exception)
Called when an error occurs while connecting to a reader.
|
void |
DataManSystem.OnDisconnectedListener.onDisconnected(DataManSystem dataManSystem)
Called after disconnected from a reader.
|
void |
DataManSystem.OnHeartbeatResponseMissedListener.onHeartbeatResponseMissed(DataManSystem dataManSystem)
Called when a response to a heartbeat command has been missed.
|
void |
DataManSystem.OnImageArrivedListener.onImageArrived(DataManSystem dataManSystem,
int resultId,
android.graphics.Bitmap image)
Called when an image has been arrived.
|
void |
DataManSystem.OnImageGraphicsArrivedListener.onImageGraphicsArrived(DataManSystem dataManSystem,
int resultId,
java.lang.String imageGraphics)
Called when the image graphics has been arrived.
|
void |
DataManSystem.OnLiveImageArrivedListener.onLiveImageArrived(DataManSystem dataManSystem,
android.graphics.Bitmap image)
Called when a live image has been arrived.
|
void |
DataManSystem.OnOffProtocolByteReceivedListener.onOffProtocolByteReceived(DataManSystem dataManSystem,
byte offProtocolByte)
Called when an off protocol byte has been received.
|
void |
DataManSystem.OnReadStringArrivedListener.onReadStringArrived(DataManSystem dataManSystem,
int resultId,
java.lang.String readString)
Called when a read string has been arrived.
|
void |
DataManSystem.OnResponseReceivedListener.onResponseReceived(DataManSystem dataManSystem,
com.cognex.dataman.sdk.DmccResponse response)
Called when a response is received from the reader.
|
void |
DataManSystem.OnStatusEventArrivedListener.onStatusEventArrived(DataManSystem dataManSystem,
java.lang.String statusEventData)
Called when the status event has been arrived.
|
void |
DataManSystem.OnSystemWentOfflineListener.onSystemWentOffline(DataManSystem dataManSystem)
Called when the reader went offline.
|
void |
DataManSystem.OnSystemWentOnlineListener.onSystemWentOnline(DataManSystem dataManSystem)
Called when the reader went online.
|
void |
DataManSystem.OnTrainingResultArrivedListener.onTrainingResultArrived(DataManSystem dataManSystem,
java.lang.String trainingResult)
Called when the training result has been arrived.
|
void |
DataManSystem.OnXmlResultArrivedListener.onXmlResultArrived(DataManSystem dataManSystem,
int resultId,
java.lang.String xmlResult)
Called when the XML result has been arrived.
|
void |
DataManSystem.OnXmlStatisticsArrivedListener.onXmlStatisticsArrived(DataManSystem dataManSystem,
java.lang.String xmlStatistics)
Called when the XML statistics has been arrived.
|
| Modifier and Type | Method and Description |
|---|---|
DataManSystem |
ReaderDevice.getDataManSystem()
Returns the DataManSystem instance for this ReaderDevice
|
| Modifier and Type | Method and Description |
|---|---|
void |
ReaderDevice.onConnected(DataManSystem dataManSystem) |
void |
ReaderDevice.onConnectionError(DataManSystem dataManSystem,
java.lang.Exception exception) |
void |
ReaderDevice.onDisconnected(DataManSystem dataManSystem) |