# CoreMotionActivity

Contains the data for a single motion update event.

Availability
3.3.0
Extends
Object

NOTE

This is an abstract type. Any object of this structure can be used where this type is used.

# Overview

For more information see, iOS Developer Library: CMMotionActivity Class Reference (opens new window).

# Properties

# automotive READONLY

Availability
3.3.0
automotive :Boolean

A Boolean indicating whether the device is in an automobile.


# confidence READONLY

Availability
3.3.0
confidence :Number

The confidence in the assessment of the motion type.


# running READONLY

Availability
3.3.0
running :Boolean

A Boolean indicating whether the device is on a running person.


# startDate READONLY

Availability
3.3.0
startDate :Date

The time at which the change in motion occurred.


# stationary READONLY

Availability
3.3.0
stationary :Boolean

A Boolean indicating whether the device is stationary.


# unknown READONLY

Availability
3.3.0
unknown :Boolean

A Boolean indicating whether the type of motion is unknown.


# walking READONLY

Availability
3.3.0
walking :Boolean

A Boolean indicating whether the device is on a walking person.