1 | import DeviceSensor from './DeviceSensor';
|
2 | import ExponentDeviceMotion from './ExponentDeviceMotion';
|
3 | class DeviceMotionSensor extends DeviceSensor {
|
4 | constructor() {
|
5 | super(...arguments);
|
6 | this.Gravity = ExponentDeviceMotion.Gravity;
|
7 | }
|
8 | }
|
9 | export const Gravity = ExponentDeviceMotion.Gravity;
|
10 | export default new DeviceMotionSensor(ExponentDeviceMotion, 'deviceMotionDidUpdate');
|
11 | //# sourceMappingURL=DeviceMotion.js.map |
\ | No newline at end of file |