Interface AVVideoCompositionValidationHandling


  • public interface AVVideoCompositionValidationHandling
    • Method Detail

      • videoCompositionShouldContinueValidatingAfterFindingEmptyTimeRange

        default boolean videoCompositionShouldContinueValidatingAfterFindingEmptyTimeRange​(AVVideoComposition videoComposition,
                                                                                           CMTimeRange timeRange)
        videoComposition:shouldContinueValidatingAfterFindingEmptyTimeRange: Invoked by an instance of AVVideoComposition when validating an instance of AVVideoComposition, to report a timeRange that has no corresponding video composition instruction.
        Returns:
        An indication of whether the AVVideoComposition should continue validation in order to report additional problems that may exist.
      • videoCompositionShouldContinueValidatingAfterFindingInvalidTimeRangeInInstruction

        default boolean videoCompositionShouldContinueValidatingAfterFindingInvalidTimeRangeInInstruction​(AVVideoComposition videoComposition,
                                                                                                          AVVideoCompositionInstruction videoCompositionInstruction)
        videoComposition:shouldContinueValidatingAfterFindingInvalidTimeRangeInInstruction: Invoked by an instance of AVVideoComposition when validating an instance of AVVideoComposition, to report a video composition instruction with a timeRange that's invalid, that overlaps with the timeRange of a prior instruction, or that contains times earlier than the timeRange of a prior instruction. Use CMTIMERANGE_IS_INVALID, defined in CMTimeRange.h, to test whether the timeRange itself is invalid. Refer to headerdoc for AVVideoComposition.instructions for a discussion of how timeRanges for instructions must be formulated.
        Returns:
        An indication of whether the AVVideoComposition should continue validation in order to report additional problems that may exist.
      • videoCompositionShouldContinueValidatingAfterFindingInvalidTrackIDInInstructionLayerInstructionAsset

        default boolean videoCompositionShouldContinueValidatingAfterFindingInvalidTrackIDInInstructionLayerInstructionAsset​(AVVideoComposition videoComposition,
                                                                                                                             AVVideoCompositionInstruction videoCompositionInstruction,
                                                                                                                             AVVideoCompositionLayerInstruction layerInstruction,
                                                                                                                             AVAsset asset)
        videoComposition:shouldContinueValidatingAfterFindingInvalidTrackIDInInstruction:layerInstruction:asset: Invoked by an instance of AVVideoComposition when validating an instance of AVVideoComposition, to report a video composition layer instruction with a trackID that does not correspond either to the trackID used for the composition's animationTool or to a track of the asset specified in -[AVVideoComposition isValidForAsset:timeRange:delegate:].
        Returns:
        An indication of whether the AVVideoComposition should continue validation in order to report additional problems that may exist.
      • videoCompositionShouldContinueValidatingAfterFindingInvalidValueForKey

        default boolean videoCompositionShouldContinueValidatingAfterFindingInvalidValueForKey​(AVVideoComposition videoComposition,
                                                                                               java.lang.String key)
        videoComposition:shouldContinueValidatingAfterFindingInvalidValueForKey: Invoked by an instance of AVVideoComposition when validating an instance of AVVideoComposition, to report a key that has an invalid value.
        Returns:
        An indication of whether the AVVideoComposition should continue validation in order to report additional problems that may exist.