Info

public enum Info

Encapsulates the type (or types) of motion for the device.

  • An array of motion activity objects that define the types of motion for the device that occurred during the queried time period.

    Declaration

    Swift

    case activities([CMMotionActivity])
  • The motion activity object that defines the current type of motion for the device.

    Declaration

    Swift

    case activity(CMMotionActivity)
  • The error encountered in attempting to obtain the motion data.

    Declaration

    Swift

    case error(Error)