---
title: events
framework: arkit
role: symbol
role_heading: Instance Property
path: arkit/arkitsession/events-swift.property
---

# events

An asynchronous sequence of events that provide updates to the current authorization status of the session.

## Declaration

```swift
final var events: ARKitSession.Events { get }
```

## Discussion

Discussion The following example detects changes in the current session’s authorization status. let session = ARKitSession() Task {     for await update in session.events {         if case .authorizationChanged(let type, let status) = update {             print("Authorization. Status of \(type) changed to \(status).")         } else {             print("Another session event \(update).")         }     } }

## See Also

### Observing a session

- [ARKitSession.Events](arkit/arkitsession/events-swift.struct.md)
- [ARKitSession.Event](arkit/arkitsession/event.md)
- [description](arkit/arkitsession/description.md)
