Class
MotionData
class MotionData
data holder class for motion data
Initializers
init(deviceMotion:)
init(deviceMotion data: CMDeviceMotion)
init(deviceMotion:bootTime:)
init(deviceMotion data: CMDeviceMotion, bootTime: Double)
Methods
display()
func display()
getRotationRateDataBinary()
func getRotationRateDataBinary() -> Data
getUserAccelerationDataBinary()
func getUserAccelerationDataBinary() -> Data
getMagneticFieldDataBinary()
func getMagneticFieldDataBinary() -> Data
getAttitudeDataBinary()
func getAttitudeDataBinary() -> Data
getGravityDataBinary()
func getGravityDataBinary() -> Data
getRotationRateDataAscii()
func getRotationRateDataAscii() -> Data
getUserAccelerationDataAscii()
func getUserAccelerationDataAscii() -> Data
getMagneticFieldDataAscii()
func getMagneticFieldDataAscii() -> Data
getAttitudeDataAscii()
func getAttitudeDataAscii() -> Data
getGravityDataAscii()
func getGravityDataAscii() -> Data