Instance Property

stationary

A Boolean indicating whether the device is stationary.

Declaration

var stationary: Bool { get }

See Also

Getting the Type of Motion

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.

var unknown: Bool

A Boolean indicating whether the type of motion is unknown.

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