<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macOS: 26.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ARKit",
  "identifier" : "/documentation/ARKit/ARKitSession/Events-swift.struct/Iterator",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "ARKit"
    ],
    "preciseIdentifier" : "s:5ARKit0A7SessionC6EventsV8IteratorV"
  },
  "title" : "ARKitSession.Events.Iterator"
}
-->

# ARKitSession.Events.Iterator

A type that provides a sequence’s iteration interface and encapsulates its iteration state.

```
struct Iterator
```

## Topics

### Type aliases

[`typealias Element`](/documentation/ARKit/ARKitSession/Events-swift.struct/Element)

A type representing a sequence’s elements.

### Instance methods

[`func next() async -> ARKitSession.Events.Element?`](/documentation/ARKit/ARKitSession/Events-swift.struct/Iterator/next())

Returns the next element in a sequence.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`AsyncIteratorProtocol`](/documentation/Swift/AsyncIteratorProtocol)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)