WTExternalCMMotionManagerDataAccessModePush Class Reference
Inherits from | WTExternalCMMotionManagerDataAccessMode : NSObject |
---|---|
Declared in | WTExternalCMMotionManagerDataAccessMode.h |
– deviceMotionUpdateAvailable:
call this method in your implementation of CMMotionManager -startDeviceMotionUpdatesToQueue:withHandler:
- (void)deviceMotionUpdateAvailable:(CMDeviceMotion *)deviceMotion
Parameters
deviceMotion |
the device motion object generated by core motion |
---|
Declared In
WTExternalCMMotionManagerDataAccessMode.h
– accelerometerDataUpdateAvailable:
call this method in in your implementation of CMMotionManger startAccelerometerUpdatesToQueue:withHandler:
- (void)accelerometerDataUpdateAvailable:(CMAccelerometerData *)accelerometerData
Parameters
accelerometerData |
the accelerometer data object generated by core motion |
---|
Discussion
This method only needs to be called in case the CMMotionManger property deviceMotionAvailable
returns NO
Declared In
WTExternalCMMotionManagerDataAccessMode.h
– headingUpdateAvailable:
call this method in your implementation of CLLocationManagerDelegate -locationManager:didUpdateHeading:
- (void)headingUpdateAvailable:(CLHeading *)heading
Parameters
heading |
the heading object generated by core location |
---|
Discussion
This method only needs to be called in case the CMMotionManager property devcieMotionAvailable
returns NO or the iOS version is 10.0.x
Declared In
WTExternalCMMotionManagerDataAccessMode.h