We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d16a1e8 + 49e9b5d commit f5b0101Copy full SHA for f5b0101
packages/ui-extensions/src/surfaces/point-of-sale/api/scanner-api/scanner-api.ts
@@ -50,6 +50,14 @@ export interface ScannerApiContent {
50
* Access available scanner sources on the device. Use to check which scanners are available (camera, external, or embedded).
51
*/
52
sources: ScannerSources;
53
+ /**
54
+ * Show the camera scanner.
55
+ */
56
+ showCameraScanner: () => void;
57
58
+ * Hide the camera scanner.
59
60
+ hideCameraScanner: () => void;
61
}
62
63
/**
0 commit comments