react-native-scanbot-barcode-scanner-sdk
Version:
Scanbot Barcode Scanner SDK React Native Plugin for Android and iOS
29 lines (24 loc) • 613 B
text/typescript
export interface CameraViewFinderInset {
left: number;
top: number;
bottom: number;
right: number;
}
export interface CameraViewAspectRatio {
width: number;
height: number;
}
export type BarcodeOverlayTextFormat =
/** Show only barcode overlay frame. */
| 'NONE'
/** Show barcode value with extension. */
| 'CODE'
/** Show barcode value with barcode format. */
| 'CODE_AND_TYPE';
/** Defines a range for zooming */
export interface ZoomRange {
/** The minimum zoom scale. Defaults to 1.0. */
minZoom: number;
/** The maximum zoom scale. Defaults to 12.0. */
maxZoom: number;
}