public ScanApiHelper() { _commandContexts = new List<CommandContext>(); _scanApi = SktClassFactory.createScanApiInstance(); _notification = null; _devicesList = new List<DeviceInfo>(); _noDeviceConnected = new DeviceInfo("", null, SktScanDeviceType.kSktScanDeviceTypeNone); _scanApiOpen = false; }
/** * register for notifications in order to receive notifications such as * "Device Arrival", "Device Removal", "Decoded Data"...etc... * @param notification */ public void SetNotification(ScanApiHelperNotification notification) { _notification = notification; }