Loading
Visual Studio Code Based Modeler for Consumer Goods Cloud
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          getActiveBluetoothPeripheralAsync

          getActiveBluetoothPeripheralAsync

          Returns which Bluetooth device (laser barcode scanner or keyboard) is active.

          Required Editions

          Available in Lightning Experience in Professional, Unlimited, and Enterprise Editions that have Consumer Goods Cloud enabled.

          Parameters

          None

          Returns

          Returns a promise. On successful execution, the framework resolves the promise with a Bluetooth device type. In case of error, the promise is rejected.

          Example

          • Success case
            {
                "result": "<one of the PeripheralManager.Types>"
            }
          • Error case
            {
                "result": "<error message>"
            }
           
          Loading
          Salesforce Help | Article