---
title: "init(identifiers:)"
framework: avfoundation
role: symbol
role_heading: Initializer
path: "avfoundation/avplayeritemmetadataoutput/init(identifiers:)"
---

# init(identifiers:)

Creates an instance of AVPlayerItemMetadataOutput.

## Declaration

```swift
init(identifiers: [String]?)
```

## Parameters

- `identifiers`: A array of metadata identifiers indicating the metadata items that the output should provide.

## Return Value

Return Value An AVPlayerItemMetadataOutput instance.

## Discussion

Discussion Pass nil to receive all of the timed metadata from all enabled AVPlayerItemTracks that carry timed metadata.
