Scan With Soft And Hard Trigger

Hi,

 

We have a custom scanner, which works with SOFT trigger (used emdk library).

 

barcodeManager = (BarcodeManager) this.emdkManager.getInstance(EMDKManager.FEATURE_TYPE.BARCODE); scanner = barcodeManager.getDevice(BarcodeManager.DeviceIdentifier.DEFAULT); scanner.addStatusListener(articleListener); scanner.addDataListener(new Scanner.DataListener() {     @Override     public void onData(ScanDataCollection scanDataCollection) {         processData(scanDataCollection);     } }); scanner.addDataListener(dataListener); scanner.triggerType = Scanner.TriggerType.SOFT_ALWAYS; scanner.enable(); 

 

but how can i have both soft and Hard trigger to scan the data?

and with datalistener process the data received from both?