Data Classes
Summary
The CODiScan™ HS7600 SDK has several callback functions which send data back within a data class.
Classes | Description |
---|---|
BatteryData | Contains information regarding the connected CODiScan's battery. |
DeviceData | Contains identifying information and firmware version regarding the connected CODiScan. |
PairingData | Contains a pairing code formatted both as a string, and a Bitmap of a Data Matrix code. |
ScanData | Contains information regarding a barcode scanned by the connected CODiScan device. |
BatteryData
Contains information regarding the connected CODiScan's battery.
Members
Name | Type | Description |
---|---|---|
batteryCharge | Int | The charge of the battery as an integer, representing percentage of remaining charge. |
batteryProfile | BatteryProfile | The battery profile, 0 -> Performance, 1 -> Health, 2 -> Save. |
batteryStatus | BatteryStatus | The battery status, 0 -> Charging, 1 -> Discharging. |
batteryTemperature | String | The temperature of the battery by tenths of a degree in Celsius. 101 = 10.1 C |
batteryCycleCount | Int | The battery cycle count. |
batteryHealth | Int | The health of the battery, given as an integer. |
DeviceData
Contains identifying information and firmware version regarding the connected CODiScan.
Members
Name | Type | Description |
---|---|---|
deviceType | String | The human readable model name of the handheld device. |
fwVersion | String | The firmware version of the device. |
deviceId | String | The ID of the device. |
PairingData
Contains a pairing code formatted both as a string, and a Bitmap of a Data Matrix code.
Members
Name | Type | Description |
---|---|---|
pairingCode | String | A pairing code to connect a CODiScan to a mobile device. |
bitmap | BitMap | The pairing code formatted into a Bitmap of a Data Matrix code. |
ScanData
Contains information regarding a barcode scanned by the connected CODiScan device.
Members
Name | Type | Description |
---|---|---|
rawData | ByteArray | The scanned barcode as an array of bytes. |
barcodeData | String | The scanned barcode as a string. |
barcodeID | String | The symbology of the scanned barcode as a human readable string. E.g. "UPCA" |