---
title: tracks
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avplayeritem/tracks
---

# tracks

An array of player item track objects.

## Declaration

```swift
nonisolated var tracks: [AVPlayerItemTrack] { get }
```

## Discussion

Discussion The value is an empty array before the player loads the underlying tracks. Key-value observe this property value to access valid tracks as soon as they’re available.
