---
title: "status(of:)"
framework: avfoundation
role: symbol
role_heading: Instance Method
path: "avfoundation/avasynchronouskeyvalueloading/status(of:)"
---

# status(of:)

Returns a value that indicates the loaded status of a property.

## Declaration

```swift
func status<T>(of property: AVAsyncProperty<Self, T>) -> AVAsyncProperty<Self, T>.Status
```

## Parameters

- `property`: A property identifier with a status to check.

## Mentioned in

Loading media data asynchronously

## Return Value

Return Value A status value.

## Discussion

Discussion A status of AVAsyncProperty.Status.loaded(_:) provides the property value, and a status of AVAsyncProperty.Status.failed(_:) provides an error that describes the failure.
