UNPKG

588 BTypeScriptView Raw
1import type { SensorType, SensorConfig, Value3D, ValueRotation, ShareableRef, SharedValue } from './commonTypes';
2export declare class SensorContainer {
3 private nativeSensors;
4 getSensorId(sensorType: SensorType, config: SensorConfig): number;
5 initializeSensor(sensorType: SensorType, config: SensorConfig): SharedValue<Value3D | ValueRotation>;
6 registerSensor(sensorType: SensorType, config: SensorConfig, handler: ShareableRef<(data: Value3D | ValueRotation) => void>): number;
7 unregisterSensor(sensorId: number): void;
8}
9//# sourceMappingURL=SensorContainer.d.ts.map
\No newline at end of file