Core Motion Monitor Classes
-
An
See moreAccelerometerMonitor
instance monitors the device’s accelerometer for periodic raw measurements of the acceleration along the three spatial axes.Declaration
Swift
public class AccelerometerMonitor : BaseMonitor
-
An
See moreAltimeterMonitor
instance monitors the device for changes in relative altitude.Declaration
Swift
public class AltimeterMonitor : BaseMonitor
-
A
See moreDeviceMotionMonitor
instance monitors the device’s accelerometer, gyroscope, and magnetometer for periodic raw measurements which are processed into device motion measurements.Declaration
Swift
public class DeviceMotionMonitor : BaseMonitor
-
A
See moreGyroscopeMonitor
instance monitors the device’s gyroscope for periodic raw measurements of the rotation rate around the three spatial axes.Declaration
Swift
public class GyroscopeMonitor : BaseMonitor
-
A
See moreMagnetometerMonitor
instance monitors the device’s magnetometer for periodic raw measurements of the magnetic field around the three spatial axes.Declaration
Swift
public class MagnetometerMonitor : BaseMonitor
-
A
See moreMotionActivityMonitor
instance monitors the device for live and historic motion data. Motion data reflects whether the user is walking, running, in a vehicle, or stationary for periods of time.Declaration
Swift
public class MotionActivityMonitor : BaseMonitor
-
A
See morePedometerMonitor
instance monitors the device for live and historic walking data. You can retrieve step counts and other information about the distance traveled and the number of floors ascended or descended.Declaration
Swift
public class PedometerMonitor : BaseMonitor