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.