One Logo Pool Ball
AVFoundation · IOS API REFERENCE

AVAssetWriterInput.MetadataReceiver

class · iOS 26.0+ · SDK 27.1

class MetadataReceiver

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

Members (3)

method · iOS 26.0+

appendImmediately

TypeScript
appendImmediately(timedMetadataGroup: AVTimedMetadataGroup): boolean
Swift declaration
func appendImmediately(_ timedMetadataGroup: AVTimedMetadataGroup) throws -> Bool

Appends the timed metadata group synchronously if the input is ready for more media data. - Parameter timedMetadataGroup: The timed metadata group to be appended - Returns: Returns true if the append was successful, false if the input was not ready for more media data. - Throws: An error if the underlying writer failed.

method · iOS 26.0+

append

TypeScript
append(timedMetadataGroup: AVTimedMetadataGroup): Promise<void>
Swift declaration
nonisolated(nonsending) func append(_ timedMetadataGroup: AVTimedMetadataGroup) async throws

Suspends until the input is ready for more media data, then appends the timed metadata group. - Parameter timedMetadataGroup: The timed metadata group to be appended. - Throws: An error if the underlying writer failed.

method · iOS 26.0+

finish

TypeScript
finish(): void
Swift declaration
func finish()

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

Skipped declarations

No declarations were skipped in this snapshot.

All AVFoundation types →