---
title: "synchronizedData(for:)"
framework: avfoundation
role: symbol
role_heading: Instance Method
path: "avfoundation/avcapturesynchronizeddatacollection/synchronizeddata(for:)"
---

# synchronizedData(for:)

Returns synchronized data captured by the specified capture output.

## Declaration

```swift
func synchronizedData(for captureOutput: AVCaptureOutput) -> AVCaptureSynchronizedData?
```

## Parameters

- `captureOutput`: The capture output for which to retrieve data.

## Return Value

Return Value A synchronized data object corresponding to the specified capture output.

## See Also

### Accessing synchronized data

- [count](avfoundation/avcapturesynchronizeddatacollection/count.md)
- [subscript(_:)](avfoundation/avcapturesynchronizeddatacollection/subscript(_:).md)
