1 | import type { SensorConfig, SharedValue, Value3D, ValueRotation, ShareableRef } from './commonTypes';
|
2 | import { SensorType } from './commonTypes';
|
3 | export default class Sensor {
|
4 | listenersNumber: number;
|
5 | private sensorId;
|
6 | private sensorType;
|
7 | private data;
|
8 | private config;
|
9 | constructor(sensorType: SensorType, config: SensorConfig);
|
10 | register(eventHandler: ShareableRef<(data: Value3D | ValueRotation) => void>): boolean;
|
11 | isRunning(): boolean;
|
12 | isAvailable(): boolean;
|
13 | getSharedValue(): SharedValue<Value3D | ValueRotation>;
|
14 | unregister(): void;
|
15 | }
|
16 | //# sourceMappingURL=Sensor.d.ts.map |
\ | No newline at end of file |