# CoreMotionActivityQueryDataWithSuccess

Dictionary passed to the callback of the queryActivity method.

Availability
3.3.0

NOTE

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

# Properties

# activities READONLY

Availability
3.3.0
activities :Array<CoreMotionActivity>

An array of CoreMotionActivity objects indicating the updates that occurred.

The objects in the array are ordered by the time at which they occurred in the specified time interval. Use the startDate property in each motion object to determine when the update occurred.


# code READONLY

Availability
3.3.0
code :Number

An error code describing the error if there was one.

See ERROR constants for possible values.


# error READONLY

Availability
3.3.0
error :String

An error message describing the error if there was one.


# success READONLY

Availability
3.3.0
success :Boolean

A Boolean indicating if the operation was successful or not.