UNPKG

expo-sensors

Version:

Provides access to a hardware device's accelerometer, gyroscope, magnetometer, and pedometer.

11 lines 516 B
import { getPermissionsAsync, requestPermissionsAsync } from './utils/isSensorEnabledAsync.web'; declare const _default: { isAvailableAsync(): Promise<boolean>; _handleMotion({ accelerationIncludingGravity: acceleration, timeStamp }: DeviceMotionEvent): void; getPermissionsAsync: typeof getPermissionsAsync; requestPermissionsAsync: typeof requestPermissionsAsync; startObserving(): void; stopObserving(): void; }; export default _default; //# sourceMappingURL=ExponentGyroscope.web.d.ts.map