---
title: status
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avplayeritem/status-swift.property
---

# status

The status of the player item.

## Declaration

```swift
nonisolated var status: AVPlayerItem.Status { get }
```

## Mentioned in

Controlling the transport behavior of a player Observing playback state in SwiftUI

## Discussion

Discussion When a player item is created, its status is AVPlayerItem.Status.unknown, meaning its media hasn’t been loaded and has not yet been enqueued for playback. Associating a player item with an AVPlayer immediately begins enqueuing the item’s media and preparing it for playback. When the player item’s media has been loaded and is ready for use, its status will change to AVPlayerItem.Status.readyToPlay. You can observe this change using key-value observing. For possible values, see AVPlayerItem.Status.

## See Also

### Determining readiness

- [AVPlayerItem.Status](avfoundation/avplayeritem/status-swift.enum.md)
- [error](avfoundation/avplayeritem/error.md)
