UNPKG

react-native-ble-nitro

Version:

High-performance React Native BLE library built on Nitro Modules

6 lines (5 loc) 352 B
import { HybridObject } from "react-native-nitro-modules"; import { BLEDevice, NativeBleNitro } from "./NativeBleNitro.nitro"; export interface NativeBleNitroFactory extends HybridObject<{ ios: 'swift'; android: 'kotlin' }> { create(nativeRestoreStateIdentifier?: string, restoreStateCallback?: (peripherals: BLEDevice[]) => void): NativeBleNitro; }