Contents

loadMetadata(completionHandler:)

Loads the array of metadata items from the media asset track.

Declaration

optional func loadMetadata(completionHandler: @escaping  @Sendable ([AVMetadataItem]?, (any Error)?) -> Void)
optional func metadata() async throws -> [AVMetadataItem]

Parameters

  • completionHandler:

    The completion block to execute when the load operation finishes.

See Also

Getting track information