Loading
Ongoing maintenance for Salesforce HelpRead More
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
          PeripheralManager

          PeripheralManager

          Identifies the type of Bluetooth device that is connected to the Consumer Goods offline mobile app device.

          Required Editions

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

          Returns

          Type of Bluetooth device. Values are BLUETOOTH_BARCODE_SCANNER and BLUETOOTH_KEYBOARD. Default is BLUETOOTH_BARCODE_SCANNER.

          Sample Code

          PeripheralManager.getActiveBluetoothPeripheralAsync().then(response => {console.log(response)});
          PeripheralManager.switchToBluetoothKeyboardAsync().then(response => {console.log(response)});
          PeripheralManager.switchToBluetoothBarcodeScannerAsync().then(response => {console.log(response)});
           
          Loading
          Salesforce Help | Article