Skip to content

Modules.CoreMotion.CoreMotionActivity

Contains the data for a single motion update event.

For more information see, iOS Developer Library: CMMotionActivity Class Reference.

Since: 3.3.0 · Platforms: iphone, ipad

Properties #

automotive#

Type: Boolean

A Boolean indicating whether the device is in an automobile.

confidence#

Type: Number

The confidence in the assessment of the motion type.

running#

Type: Boolean

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

startDate#

Type: Date

The time at which the change in motion occurred.

stationary#

Type: Boolean

A Boolean indicating whether the device is stationary.

unknown#

Type: Boolean

A Boolean indicating whether the type of motion is unknown.

walking#

Type: Boolean

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

Titanium SDK Documentation