Protocol: AVVideoCompositionValidationHandling
Overview
The AVVideoCompositionValidationHandling protocol declares methods that you can implement in the delegate of an AVVideoComposition object to indicate whether validation of a video composition should continue after specific errors have been found.Reports a time range that has no corresponding video composition instruction.Reports a video composition instruction with a time range that is invalid, that overlaps with the time range of a prior instruction, or that contains times earlier than the time range of a prior instruction.Reports a video composition layer instruction with a track ID that does not correspond either to the track ID used for the composition’s animation tool or to a track of the asset specified in isValidForAsset:timeRange:delegate:. Reports that a key that has an invalid value.
Instance Method Summary (collapse)
-
- videoComposition:shouldContinueValidatingAfterFindingEmptyTimeRange:
Reports a time range that has no corresponding video composition instruction.
-
- videoComposition:shouldContinueValidatingAfterFindingInvalidTimeRangeInInstruction:
Reports a video composition instruction with a time range that is invalid, that overlaps with the time range of a prior instruction, or that contains times earlier than the time range of a prior instruction.
-
- videoComposition:shouldContinueValidatingAfterFindingInvalidTrackIDInInstruction:layerInstruction:asset:
Reports a video composition layer instruction with a track ID that does not correspond either to the track ID used for the composition’s animation tool or to a track of the asset specified in isValidForAsset:timeRange:delegate:.
-
- videoComposition:shouldContinueValidatingAfterFindingInvalidValueForKey:
Reports that a key that has an invalid value.
Instance Method Details
- (Boolean) videoComposition(videoComposition, shouldContinueValidatingAfterFindingEmptyTimeRange:timeRange)
Reports a time range that has no corresponding video composition instruction.
- (Boolean) videoComposition(videoComposition, shouldContinueValidatingAfterFindingInvalidTimeRangeInInstruction:videoCompositionInstruction)
Reports a video composition instruction with a time range that is invalid, that overlaps with the time range of a prior instruction, or that contains times earlier than the time range of a prior instruction.
- (Boolean) videoComposition(videoComposition, shouldContinueValidatingAfterFindingInvalidTrackIDInInstruction:videoCompositionInstruction, layerInstruction:layerInstruction, asset:asset)
Reports a video composition layer instruction with a track ID that does not correspond either to the track ID used for the composition’s animation tool or to a track of the asset specified in isValidForAsset:timeRange:delegate:.
- (Boolean) videoComposition(videoComposition, shouldContinueValidatingAfterFindingInvalidValueForKey:key)
Reports that a key that has an invalid value.