Contents

validateCaptionConversion(warningHandler:)

Validates the object’s captions.

Declaration

func validateCaptionConversion(warningHandler handler: @escaping  @Sendable (AVCaptionConversionWarning?) -> Void)

Parameters

  • handler:

    The callback the system invokes when it finishes validation.

Discussion

When the object finishes validating and reports all warnings, it invokes the callback once with a value of nil for its warning parameter. When this occurs, the validator’s status value changes to AVCaptionConversionValidator.Status.completed.

Stop an in-progress validation operation by calling stopValidating().

See Also

Validating captions