react-native-bluetooth-state-manager
Version:
Manage the bluetooth state of your device
8 lines • 555 B
TypeScript
export { type BluetoothState } from './specs/BluetoothStateManager.nitro';
import type { BluetoothState, BluetoothStateManager as RNBluetoothStateMangerSpec } from './specs/BluetoothStateManager.nitro';
declare const module: RNBluetoothStateMangerSpec;
type Module = Omit<typeof module, 'addListener' | 'removeListener' | 'equals' | 'name'> & {
addListener: (callback: (state: BluetoothState) => void, emitCurrentState?: boolean) => () => void;
};
export declare const BluetoothStateManager: Module;
//# sourceMappingURL=BluetoothStateManager.d.ts.map