<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVAssetWriterInput/MetadataReceiver",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "s:So18AVAssetWriterInputC12AVFoundationE16MetadataReceiverC"
  },
  "title" : "AVAssetWriterInput.MetadataReceiver"
}
-->

# AVAssetWriterInput.MetadataReceiver

Provides an interface for writing timed metadata groups to an input.

```
class MetadataReceiver
```

## Topics

### Appending metadata

[`func append(AVTimedMetadataGroup) async throws`](/documentation/AVFoundation/AVAssetWriterInput/MetadataReceiver/append(_:))

Suspends until the input is ready for more media data, then appends the timed metadata group.

[`func appendImmediately(AVTimedMetadataGroup) throws -> Bool`](/documentation/AVFoundation/AVAssetWriterInput/MetadataReceiver/appendImmediately(_:))

Appends the timed metadata group synchronously if the input is ready for more media data.

[`func finish()`](/documentation/AVFoundation/AVAssetWriterInput/MetadataReceiver/finish())

Indicates to the AVAssetWriter that no more buffers will be appended to this receiver.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)