public static interface BarcodeManager.ScannerConnectionListener
Example Usage: public class MainActivity extends Activity implements ScannerConnectionListener .. .. ..
Modifier and Type | Method and Description |
---|---|
void |
onConnectionChange(ScannerInfo scannerInfo,
BarcodeManager.ConnectionState connectionState)
Called to notify the client when the scanner device has been connected or disconnected to the mobile device.
|
void onConnectionChange(ScannerInfo scannerInfo, BarcodeManager.ConnectionState connectionState)
scannerInfo
- The ScannerInfo object of the affected scanner.connectionState
- The new connection state.