#if __has_include() #import #endif #import @interface ReanimatedSensor : NSObject { ReanimatedSensorType _sensorType; double _interval; double _lastTimestamp; #if !TARGET_OS_TV CMMotionManager *_motionManager; #endif void (^_setter)(double[]); } - (instancetype)init:(ReanimatedSensorType)sensorType interval:(int)interval setter:(void (^)(double[]))setter; - (bool)initialize; - (bool)initializeGyroscope; - (bool)initializeAccelerometer; - (bool)initializeGravity; - (bool)initializeMagnetometer; - (bool)initializeOrientation; - (void)cancel; @end