Tuya MiniApp
  • Introduction
  • Development
  • Solution
Panel Development Solution
AI Application Development Solution
Full-scenario Application Solution
DEVELOPER DOCS
  • Introduction
  • Usage Scenarios
  • Solutions
    • General Category Capabilities
      • Core Capabilities
      • Panel Multi-language
      • Smart Device Model
        • Usage
        • Interceptors
          • Usage
            • Usage
            • isWifiDevice
            • isZigbeeDevice
            • isSigMeshDevice
            • isBleDevice
            • isMatterDevice
            • isTuyaMatterDevice
            • isGprsDevice
            • isBluetoothDevice
            • isBleMeshDevice
            • isCat1Device
            • isBeaconDevice
            • isLteCat4Device
            • isLteCat10Device
            • isLteCatMDevice
            • isThreadDevice
            • isTripartiteMatter
            • isGroupDevice
            • isSupportDp
            • isSupportBright
            • isSupportTemp
            • isSupportColour
            • isSupportCloudTimer
            • isInGateway
        • FAQ
      • Smart Group Model
      • Function Point Parsing Set
      • Hooks
      • Utility Methods
    • Vertical Category Capabilities
  • Use Cases

SmartSupportAbility.isBluetoothDevice()

Requires:
@ray-js/panel-sdk≥1.0.0

Description

Determine whether it is a Bluetooth device

Parameters

None

Return Value

Type: boolean
Whether it is a Bluetooth device

Examples

Example

if (sdm.support.isBluetoothDevice()) {
  console.log('This is a Bluetooth device');
}
Previous pageisGprsDeviceNext pageisBleMeshDevice
On this page