public class ScannerInfo
extends java.lang.Object
Example Usage: scanneInfo.getFriendlyName();
Modifier and Type | Class and Description |
---|---|
static class |
ScannerInfo.ConnectionType
List of supported scanner connection types.
|
static class |
ScannerInfo.DecoderType
This lists all the barcode types supported by scanners
|
static class |
ScannerInfo.DeviceType
List of supported scanner device types.
|
Modifier and Type | Method and Description |
---|---|
ScannerInfo.ConnectionType |
getConnectionType()
Returns the scanner connection type to mobile computer
Note: The connection type information is not available on Scanner Framework 1.18.P03 on TC55 REV A device.
|
ScannerInfo.DecoderType |
getDecoderType()
Returns the barcode scanning type supported by scanner.
|
BarcodeManager.DeviceIdentifier |
getDeviceIdentifier()
Returns the Device Identifier.
|
ScannerInfo.DeviceType |
getDeviceType()
Returns the scanner device type
|
java.lang.String |
getFriendlyName()
Returns the friendly name of the Device.
|
java.lang.String |
getModelNumber()
Returns the scanner device model number.
|
boolean |
isConnected() |
boolean |
isDefaultScanner()
Returns true if it is a default scanner else false.
|
public boolean isDefaultScanner()
public java.lang.String getFriendlyName()
Example Usage: String name = scanneInfo.getFriendlyName();
public java.lang.String getModelNumber()
Example Usage: String model = scanneInfo.getModel();
public ScannerInfo.DeviceType getDeviceType()
Example Usage: DeviceType deviceType = scanneInfo.getDeviceType();
public ScannerInfo.ConnectionType getConnectionType()
Example Usage: ConnectionType deviceType = scanneInfo.getConnectionType();
public BarcodeManager.DeviceIdentifier getDeviceIdentifier()
Example Usage: DeviceIdentifier deviceIdentifier = scannerInfo.getDeviceIdentifier();
public ScannerInfo.DecoderType getDecoderType()
Example Usage: DecoderType decoderType = scannerInfo.getScannerInfo().getDecoderType();
public boolean isConnected()