https://learn.microsoft.com/en-us/power-apps/developer/component-framework/reference/device/getbarcodevalue
getBarcodeValue (Power Apps component framework API reference) - Power Apps | Microsoft Learn
Invokes the device camera to scan the barcode information, such as product number.
power appscomponent frameworkapi referencemicrosoftlearn