Instance Property

unknown

A Boolean indicating whether the type of motion is unknown.

Declaration

var unknown: Bool { get }

Discussion

This property is set to true when there is no way to estimate the current type of motion. For example, this property might be true if the device was turned on recently and not enough motion data had been gathered to determine the type of motion.

See Also

Getting the Type of Motion

var stationary: Bool

A Boolean indicating whether the device is stationary.

var walking: Bool

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

var running: Bool

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

var automotive: Bool

A Boolean indicating whether the device is in an automobile.

var cycling: Bool

A Boolean indicating whether the device is in a bicycle.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software