Contents

loadMetadata(completionHandler:)

Loads the array of metadata items from the media asset.

Declaration

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

Parameters

  • completionHandler:

    The completion block to execute when the load operation finishes.

See Also

Reading and parsing media assets