Package apple.avfoundation.protocol
Interface AVVideoCompositionValidationHandling
-
public interface AVVideoCompositionValidationHandlingAPI-Since: 5.0
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default booleanvideoCompositionShouldContinueValidatingAfterFindingEmptyTimeRange(@NotNull 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.default booleanvideoCompositionShouldContinueValidatingAfterFindingInvalidTimeRangeInInstruction(@NotNull AVVideoComposition videoComposition, @NotNull 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.default booleanvideoCompositionShouldContinueValidatingAfterFindingInvalidTrackIDInInstructionLayerInstructionAsset(@NotNull AVVideoComposition videoComposition, @NotNull AVVideoCompositionInstruction videoCompositionInstruction, @NotNull AVVideoCompositionLayerInstruction layerInstruction, @NotNull 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:].default booleanvideoCompositionShouldContinueValidatingAfterFindingInvalidValueForKey(@NotNull AVVideoComposition videoComposition, @NotNull 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.
-
-
-
Method Detail
-
videoCompositionShouldContinueValidatingAfterFindingEmptyTimeRange
default boolean videoCompositionShouldContinueValidatingAfterFindingEmptyTimeRange(@NotNull @NotNull 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. API-Since: 5.0
-
videoCompositionShouldContinueValidatingAfterFindingInvalidTimeRangeInInstruction
default boolean videoCompositionShouldContinueValidatingAfterFindingInvalidTimeRangeInInstruction(@NotNull @NotNull AVVideoComposition videoComposition, @NotNull @NotNull 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. API-Since: 5.0
-
videoCompositionShouldContinueValidatingAfterFindingInvalidTrackIDInInstructionLayerInstructionAsset
default boolean videoCompositionShouldContinueValidatingAfterFindingInvalidTrackIDInInstructionLayerInstructionAsset(@NotNull @NotNull AVVideoComposition videoComposition, @NotNull @NotNull AVVideoCompositionInstruction videoCompositionInstruction, @NotNull @NotNull AVVideoCompositionLayerInstruction layerInstruction, @NotNull @NotNull 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. API-Since: 5.0
-
videoCompositionShouldContinueValidatingAfterFindingInvalidValueForKey
default boolean videoCompositionShouldContinueValidatingAfterFindingInvalidValueForKey(@NotNull @NotNull AVVideoComposition videoComposition, @NotNull @NotNull 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. API-Since: 5.0
-
-