Skylight Docs

Camera-based scanning

Using the camera to scan 1D and 2D codes
Camera-based Scanning Recipe V2 Application Bundle
Interface: Scan status shows client support status for the different properties in the function called in this recipe.

What does this recipe include?

The root view of the recipe consists of a card that calls skylight.startScanner when selected. In this recipe, the timeout for the scan is set to 3000 milliseconds and the scan mode is set to the default to recognize as many types of codes as possible.
For more information about the possible scan types, see the Scripting API.