---
title: trackingStates
framework: dockkit
role: symbol
role_heading: Instance Property
path: dockkit/dockaccessory/trackingstates-swift.property
---

# trackingStates

Provides an access to the asynchronous sequence of tracking session states

## Declaration

```swift
final var trackingStates: DockAccessory.TrackingStates { get throws }
```

## Return Value

Return Value A DockAccessory.TrackingStates instance representing the current state of tracking.

## Discussion

Discussion note: DockKitError.notConnected if device is disconnected, or DockKitError.notSupportedByDevice if device doesn’t support updates.
