---
title: events
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avplayeritemaccesslog/events
---

# events

A chronologically ordered array of player item access log events.

## Declaration

```swift
var events: [AVPlayerItemAccessLogEvent] { get }
```

## Discussion

Discussion The array contains AVPlayerItemAccessLogEvent objects that represent the chronological sequence of events contained in the access log. This property isn’t observable. For more information about key-value observing, see Using Key-Value Observing in Swift.

## See Also

### Accessing log data

- [extendedLogData()](avfoundation/avplayeritemaccesslog/extendedlogdata().md)
- [extendedLogDataStringEncoding](avfoundation/avplayeritemaccesslog/extendedlogdatastringencoding.md)
