Contents

outputCaptionProvider(for:validationDelegate:)

Attaches the output to the reader and returns an output provider for reading caption groups.

Declaration

func outputCaptionProvider(for output: AVAssetReaderTrackOutput, validationDelegate: (any AVAssetReaderCaptionValidationHandling)? = nil) -> sending AVAssetReaderOutput.Provider<AVCaptionGroup>

Parameters

  • output:

    The output to be attached to the reader.

Return Value

A reader output provider with an interface for reading caption groups.

See Also

Accessing output providers