Motion Monitor Classes

  • A DeviceMotionMonitor instance monitors the device’s accelerometer, gyroscope, and magnetometer for periodic raw measurements which are processed into device motion measurements.

    See more

    Declaration

    Swift

    public class DeviceMotionMonitor: BaseMonitor
  • A GyroscopeMonitor instance monitors the device’s gyroscope for periodic raw measurements of the rotation rate around the three spatial axes.

    See more

    Declaration

    Swift

    public class GyroscopeMonitor: BaseMonitor
  • A MagnetometerMonitor instance monitors the device’s magnetometer for periodic raw measurements of the magnetic field around the three spatial axes.

    See more

    Declaration

    Swift

    public class MagnetometerMonitor: BaseMonitor
  • A MotionActivityMonitor 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.

    See more

    Declaration

    Swift

    public class MotionActivityMonitor: BaseMonitor
  • A PedometerMonitor 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.

    See more

    Declaration

    Swift

    public class PedometerMonitor: BaseMonitor