UNPKG

1.26 kBJavaScriptView Raw
1import { temporarilyNotSupport } from '../../utils';
2// 蓝牙-通用
3export const stopBluetoothDevicesDiscovery = temporarilyNotSupport('stopBluetoothDevicesDiscovery');
4export const startBluetoothDevicesDiscovery = temporarilyNotSupport('startBluetoothDevicesDiscovery');
5export const openBluetoothAdapter = temporarilyNotSupport('openBluetoothAdapter');
6export const onBluetoothDeviceFound = temporarilyNotSupport('onBluetoothDeviceFound');
7export const onBluetoothAdapterStateChange = temporarilyNotSupport('onBluetoothAdapterStateChange');
8export const offBluetoothDeviceFound = temporarilyNotSupport('offBluetoothDeviceFound');
9export const offBluetoothAdapterStateChange = temporarilyNotSupport('offBluetoothAdapterStateChange');
10export const makeBluetoothPair = temporarilyNotSupport('makeBluetoothPair');
11export const isBluetoothDevicePaired = temporarilyNotSupport('isBluetoothDevicePaired');
12export const getConnectedBluetoothDevices = temporarilyNotSupport('getConnectedBluetoothDevices');
13export const getBluetoothDevices = temporarilyNotSupport('getBluetoothDevices');
14export const getBluetoothAdapterState = temporarilyNotSupport('getBluetoothAdapterState');
15export const closeBluetoothAdapter = temporarilyNotSupport('closeBluetoothAdapter');