Searched refs:motionManager (Results 1 – 7 of 7) sorted by relevance
9 private lazy var motionManager = CMMotionManager() variable18 return motionManager.isGyroAvailable in definition()22 motionManager.gyroUpdateInterval = intervalMs / 1000.0 in definition()26 if motionManager.isGyroActive { in definition()29 motionManager.startGyroUpdates(to: operationQueue) { [weak self] data, _ in in definition()42 motionManager.stopGyroUpdates() in definition()46 motionManager.stopGyroUpdates() in definition()
9 private lazy var motionManager = CMMotionManager() variable18 return motionManager.isMagnetometerAvailable in definition()22 motionManager.magnetometerUpdateInterval = intervalMs in definition()26 if motionManager.isMagnetometerActive { in definition()29 motionManager.startMagnetometerUpdates(to: operationQueue) { [weak self] data, _ in in definition()42 motionManager.stopMagnetometerUpdates() in definition()46 motionManager.stopMagnetometerUpdates() in definition()
9 private lazy var motionManager = CMMotionManager() variable18 return motionManager.isAccelerometerAvailable in definition()22 motionManager.accelerometerUpdateInterval = intervalMs / 1000.0 in definition()26 if motionManager.isAccelerometerActive { in definition()29 motionManager.startAccelerometerUpdates(to: operationQueue) { [weak self] data, _ in in definition()42 motionManager.stopAccelerometerUpdates() in definition()46 motionManager.stopAccelerometerUpdates() in definition()
9 private lazy var motionManager = CMMotionManager() variable18 return motionManager.isDeviceMotionAvailable in definition()22 motionManager.deviceMotionUpdateInterval = intervalMs / 1000.0 in definition()26 if motionManager.isDeviceMotionActive { in definition()31 …motionManager.startDeviceMotionUpdates(using: referenceFrame, to: operationQueue) { [weak self] da… in definition()44 motionManager.stopDeviceMotionUpdates() in definition()48 motionManager.stopDeviceMotionUpdates() in definition()
12 private lazy var motionManager = CMMotionManager() variable27 return motionManager.isDeviceMotionAvailable in definition()31 motionManager.deviceMotionUpdateInterval = intervalMs / 1000.0 in definition()39 motionManager.stopDeviceMotionUpdates() in definition()43 motionManager.stopDeviceMotionUpdates() in definition()48 if motionManager.isDeviceMotionActive { in startDeviceMotionUpdates()53 …motionManager.startDeviceMotionUpdates(using: referenceFrame, to: operationQueue) { [weak self] da… in startDeviceMotionUpdates()83 "interval": Double(self.motionManager.deviceMotionUpdateInterval) in startDeviceMotionUpdates()
23 @property (nonatomic, strong) CMMotionManager * motionManager; property331 [self.motionManager startAccelerometerUpdatesToQueue:[NSOperationQueue new]334 … = [ABI49_0_0EXCameraUtils deviceOrientationForAccelerometerData:self.motionManager.accelerometerD…342 [self.motionManager stopAccelerometerUpdates];778 [self.motionManager stopAccelerometerUpdates];
23 @property (nonatomic, strong) CMMotionManager * motionManager; property336 [self.motionManager startAccelerometerUpdatesToQueue:[NSOperationQueue new]339 …ientation = [EXCameraUtils deviceOrientationForAccelerometerData:self.motionManager.accelerometerD…347 [self.motionManager stopAccelerometerUpdates];786 [self.motionManager stopAccelerometerUpdates];