> For the complete documentation index, see [llms.txt](https://help.appybuilder.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.appybuilder.com/components/reference/sensors/barcodescanner.md).

# BarcodeScanner

Component for using the Barcode Scanner to read a barcode

## Properties

### Result

Text result of the previous scan.

### UseExternalScanner

If true, AppyBuilder will look for and use an external scanning program such as "Bar Code Scanner."

## Events

### AfterScan

| Parameter | Type |
| --------- | ---- |
| result    | text |

Indicates that the scanner has read a (text) result and provides the result

## Methods

### DoScan

Begins a barcode scan, using the camera. When the scan is complete, the AfterScan event will be raised.
