Class AVCompositionTrackSegment

    • Constructor Detail

      • AVCompositionTrackSegment

        protected AVCompositionTrackSegment​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        public static org.moe.natj.objc.Class classForKeyedUnarchiver()
      • compositionTrackSegmentWithTimeRange

        public static AVCompositionTrackSegment compositionTrackSegmentWithTimeRange​(CMTimeRange timeRange)
        compositionTrackSegmentWithTimeRange: Returns an instance of AVCompositionTrackSegment that presents an empty track segment.
        Parameters:
        timeRange - The timeRange of the empty AVCompositionTrackSegment.
        Returns:
        An instance of AVCompositionTrackSegment.
      • compositionTrackSegmentWithURLTrackIDSourceTimeRangeTargetTimeRange

        public static AVCompositionTrackSegment compositionTrackSegmentWithURLTrackIDSourceTimeRangeTargetTimeRange​(NSURL URL,
                                                                                                                    int trackID,
                                                                                                                    CMTimeRange sourceTimeRange,
                                                                                                                    CMTimeRange targetTimeRange)
        compositionTrackSegmentWithURL:trackID:sourceTimeRange:targetTimeRange: Returns an instance of AVCompositionTrackSegment that presents a portion of a file referenced by URL. To specify that the segment be played at the asset's normal rate, set source.duration == target.duration in the timeMapping. Otherwise, the segment will be played at a rate equal to the ratio source.duration / target.duration.
        Parameters:
        URL - An instance of NSURL that references the container file to be presented by the AVCompositionTrackSegment.
        trackID - The track identifier that specifies the track of the container file to be presented by the AVCompositionTrackSegment.
        sourceTimeRange - The timeRange of the track of the container file to be presented by the AVCompositionTrackSegment.
        targetTimeRange - The timeRange of the composition track during which the AVCompositionTrackSegment is to be presented.
        Returns:
        An instance of AVCompositionTrackSegment.
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • initWithTimeRange

        public AVCompositionTrackSegment initWithTimeRange​(CMTimeRange timeRange)
        initWithTimeRange: Initializes an instance of AVCompositionTrackSegment that presents an empty track segment.
        Parameters:
        timeRange - The timeRange of the empty AVCompositionTrackSegment.
        Returns:
        An instance of AVCompositionTrackSegment.
      • initWithURLTrackIDSourceTimeRangeTargetTimeRange

        public AVCompositionTrackSegment initWithURLTrackIDSourceTimeRangeTargetTimeRange​(NSURL URL,
                                                                                          int trackID,
                                                                                          CMTimeRange sourceTimeRange,
                                                                                          CMTimeRange targetTimeRange)
        initWithURL:trackID:sourceTimeRange:targetTimeRange: Initializes an instance of AVCompositionTrackSegment that presents a portion of a file referenced by URL. To specify that the segment be played at the asset's normal rate, set source.duration == target.duration in the timeMapping. Otherwise, the segment will be played at a rate equal to the ratio source.duration / target.duration.
        Parameters:
        URL - An instance of NSURL that references the container file to be presented by the AVCompositionTrackSegment.
        trackID - The track identifier that specifies the track of the container file to be presented by the AVCompositionTrackSegment.
        sourceTimeRange - The timeRange of the track of the container file to be presented by the AVCompositionTrackSegment.
        targetTimeRange - The timeRange of the composition track during which the AVCompositionTrackSegment is to be presented.
        Returns:
        An instance of AVCompositionTrackSegment.
      • isEmpty

        public boolean isEmpty()
        indicates whether the AVCompositionTrackSegment is an empty segment; an empty segment has a valid target time range but nil sourceURL and kCMTimeInvalid source start time; all other fields are undefined
        Overrides:
        isEmpty in class AVAssetTrackSegment
      • sourceTrackID

        public int sourceTrackID()
        indicates the track of the container file of the media presented by the AVCompositionTrackSegment
      • sourceURL

        public NSURL sourceURL()
        indicates the container file of the media presented by the AVCompositionTrackSegment