Skip to main content

scanStop()

Stop barcode scanning and turn off kiosk illumination.

AilaCordovaPlugin.scanStop()

Returns

Promise that resolves with a boolean when scanning stops.

Example

AilaCordovaPlugin.scanStop()
.then(() => {
console.log('Scanning stopped');
})
.catch((error) => {
console.error('Failed to stop scanning:', error);
});

Notes

  • Stops all scanning activity and turns off kiosk lighting
  • Should be called when scanning is no longer needed to conserve battery
  • Safe to call even if scanning is not active