Skip to content

Commit

Permalink
feat(barcodescanner): add missing options (#966)
Browse files Browse the repository at this point in the history
Fixes #965
  • Loading branch information
abennouna authored and ihadeed committed Jan 11, 2017
1 parent 67adb23 commit e902856
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/plugins/barcodescanner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

}

/**
Expand Down

0 comments on commit e902856

Please sign in to comment.