SmartSupportAbility.isBluetoothDevice()

版本要求:
@ray-js/panel-sdk≥1.0.0

描述

判断是否是蓝牙 Bluetooth 设备

参数

无

返回值

类型:boolean
是否是 Bluetooth 设备

示例代码

示例

if (sdm.support.isBluetoothDevice()) {
  console.log('当前为蓝牙设备');
}