SmartDeviceModel.getBluetooth

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

Method signature
SmartDeviceModel.getBluetooth()

Description

Get the Bluetooth status of the smart device’s environment

Parameters

None

Return Value

Type: any
Bluetooth status object containing available (whether Bluetooth is available)

Examples

Example

const bluetooth = device.getBluetooth();
console.log(bluetooth.available); // true