BarcodeScannerPlugin.getSupportedFormats()
August 11, 2023
- Plugin
Gets the supported barcode formats.
BarcodeScannerPlugin.getSupportedFormats()
Parameters
- None
Returns
A Promise that resolves to an array of supported format names.
Example
import { barcodeScannerPlugin } from "@plaoc/plugin";
(async () => {
const res = await barcodeScannerPlugin.getSupportedFormats();
})();
Platform Compatibility
Property/Method/Event | Android | iOS | Desktop-Dev | Desktop |
---|---|---|---|---|
getSupportedFormats | ✅ | ✅ | ✅ | ✅ |
See Also
Powered by Waline v2.13.0