UNPKG

expo-react-native-ibeacon

Version:
20 lines 946 B
import { EventSubscription } from "expo-modules-core"; export type BeaconsChangeEvent = { beacons: string[]; }; export declare function startScanning(beacon: string): void; export declare const BeaconScanner: () => { requestAlwaysAuthorization: () => void; startScanning: (uuid: string) => void; stopScanning: (uuid: string) => void; addBeaconsDetectedListener: (listener: (event: BeaconsChangeEvent) => void) => EventSubscription; addBeaconsEnterRegionListener: (listener: (event: BeaconsChangeEvent) => void) => EventSubscription; addBeaconsExitRegionListener: (listener: (event: BeaconsChangeEvent) => void) => EventSubscription; addBeaconsBluetoothStateChangedListener: (listener: (event: { state: string; }) => void) => EventSubscription; addBeaconsDetermineStateListener: (listener: (event: { state: string; }) => void) => EventSubscription; }; //# sourceMappingURL=index.d.ts.map