UNPKG

1.13 kBTypeScriptView Raw
1export declare const stopBluetoothDevicesDiscovery: () => Promise<{
2 errMsg: string;
3}>;
4export declare const startBluetoothDevicesDiscovery: () => Promise<{
5 errMsg: string;
6}>;
7export declare const openBluetoothAdapter: () => Promise<{
8 errMsg: string;
9}>;
10export declare const onBluetoothDeviceFound: () => Promise<{
11 errMsg: string;
12}>;
13export declare const onBluetoothAdapterStateChange: () => Promise<{
14 errMsg: string;
15}>;
16export declare const offBluetoothDeviceFound: () => Promise<{
17 errMsg: string;
18}>;
19export declare const offBluetoothAdapterStateChange: () => Promise<{
20 errMsg: string;
21}>;
22export declare const makeBluetoothPair: () => Promise<{
23 errMsg: string;
24}>;
25export declare const isBluetoothDevicePaired: () => Promise<{
26 errMsg: string;
27}>;
28export declare const getConnectedBluetoothDevices: () => Promise<{
29 errMsg: string;
30}>;
31export declare const getBluetoothDevices: () => Promise<{
32 errMsg: string;
33}>;
34export declare const getBluetoothAdapterState: () => Promise<{
35 errMsg: string;
36}>;
37export declare const closeBluetoothAdapter: () => Promise<{
38 errMsg: string;
39}>;