Contents

NIMotionActivityState

Motion states for a nearby accessory.

Declaration

enum NIMotionActivityState

Overview

Ranging accuracy improves when the framework knows whether the accessory is moving. Track your accessory’s motion using a method you choose and then use this enumeration to describe the motion among the available states. When the accessory’s motion state changes, inform the session by calling updateMotionState(_:forObjectWithToken:)).

Topics

Specifying the motion state

Creating a motion state

See Also

Third-party accessories