diff --git a/src/plugins/barcodescanner.ts b/src/plugins/barcodescanner.ts index af769e31e..67b00df3b 100644 --- a/src/plugins/barcodescanner.ts +++ b/src/plugins/barcodescanner.ts @@ -37,6 +37,16 @@ export interface BarcodeScannerOptions { */ orientation?: string; + /** + * Launch with the torch switched on (if available). Supported on Android only. + */ + torchOn?: boolean; + + /** + * Display scanned text for X ms. 0 suppresses it entirely, default 1500. Supported on Android only. + */ + resultDisplayDuration?: number; + } /**