Permalink
Browse files

feat(barcodescanner): add missing options (#966)

Fixes #965
  • Loading branch information...
1 parent 67adb23 commit e9028560899899bde1ec0d49839d4f16fcb7ffa9 @abennouna abennouna committed with ihadeed Jan 11, 2017
Showing with 10 additions and 0 deletions.
  1. +10 −0 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;
+
}
/**

0 comments on commit e902856

Please sign in to comment.