---
title: next()
framework: dockkit
role: symbol
role_heading: Instance Method
path: dockkit/dockaccessory/trackingstates-swift.struct/iterator/next()
---

# next()

Provide the next tracking session state in the list.

## Declaration

```swift
mutating func next() async -> DockAccessory.TrackingState?
```
