Class AVCompositionTrack

    • Constructor Detail

      • AVCompositionTrack

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

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

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

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

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

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

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • 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

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • 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()
      • segments

        @NotNull
        public @NotNull NSArray<? extends AVCompositionTrackSegment> segments()
        [@property] segments Provides read-only access to the array of track segments, each an instance of AVCompositionTrackSegment. Note that timeMapping.target.start of the first AVCompositionTrackSegment must be kCMTimeZero, and the timeMapping.target.start of each subsequent AVCompositionTrackSegment must equal CMTimeRangeGetEnd(the previous AVCompositionTrackSegment's timeMapping.target). Use -validateTrackSegments:error: to perform a test to ensure that an array of AVCompositionTrackSegments conforms to this rule.
        Overrides:
        segments in class AVAssetTrack
      • segmentForTrackTime

        @Nullable
        public @Nullable AVCompositionTrackSegment segmentForTrackTime​(CMTime trackTime)
        segmentForTrackTime: Supplies the AVCompositionTrackSegment from the segments array with a target timeRange that either contains the specified track time or is the closest to it among the target timeRanges of the track's segments. If the trackTime does not map to a sample presentation time (e.g. it's outside the track's timeRange), the segment closest in time to the specified trackTime is returned.
        Overrides:
        segmentForTrackTime in class AVAssetTrack
        Parameters:
        trackTime - The trackTime for which an AVCompositionTrackSegment is requested.
        Returns:
        An AVCompositionTrackSegment.
      • formatDescriptionReplacements

        @NotNull
        public @NotNull NSArray<? extends AVCompositionTrackFormatDescriptionReplacement> formatDescriptionReplacements()
        [@property] formatDescriptionReplacements An array of AVCompositionTrackFormatDescriptionReplacement objects indicating original format descriptions and their replacements. The value of this property is an array of AVCompositionTrackFormatDescriptionReplacement objects, each of which specifies an original format description together with its replacement format description (as specified by a previous call to -replaceFormatDescription:withFormatDescription:). Only format descriptions that are to be replaced will occur as the originalFormatDescription elements in the AVCompositionTrackFormatDescriptionReplacement objects in this array. API-Since: 13.0
      • associatedTracksOfType

        @NotNull
        public @NotNull NSArray<? extends AVAssetTrack> associatedTracksOfType​(@NotNull
                                                                               @NotNull java.lang.String trackAssociationType)
        API-Since: 7.0
        Overrides:
        associatedTracksOfType in class AVAssetTrack
        Parameters:
        trackAssociationType - The type of track association for which associated tracks are requested.
        Returns:
        An NSArray containing AVAssetTracks; may be empty if there is no associated tracks of the specified type.
      • hasMediaCharacteristic

        public boolean hasMediaCharacteristic​(@NotNull
                                              @NotNull java.lang.String mediaCharacteristic)
        Description copied from class: AVAssetTrack
        hasMediaCharacteristic: Reports whether the track references media with the specified media characteristic.
        Overrides:
        hasMediaCharacteristic in class AVAssetTrack
        Parameters:
        mediaCharacteristic - The media characteristic of interest, e.g. AVMediaCharacteristicVisual, AVMediaCharacteristicAudible, AVMediaCharacteristicLegible, etc., as defined above.
        Returns:
        YES if the track references media with the specified characteristic, otherwise NO.
      • metadataForFormat

        @NotNull
        public @NotNull NSArray<? extends AVMetadataItem> metadataForFormat​(@NotNull
                                                                            @NotNull java.lang.String format)
        Description copied from class: AVAssetTrack
        metadataForFormat: Provides an NSArray of AVMetadataItems, one for each metadata item in the container of the specified format. Becomes callable without blocking when the key @"availableMetadataFormats" has been loaded API-Since: 4.0 Deprecated-Since: 100000.0
        Overrides:
        metadataForFormat in class AVAssetTrack
        Parameters:
        format - The metadata format for which items are requested.
        Returns:
        An NSArray containing AVMetadataItems.
      • samplePresentationTimeForTrackTime

        public CMTime samplePresentationTimeForTrackTime​(CMTime trackTime)
        Description copied from class: AVAssetTrack
        samplePresentationTimeForTrackTime: Maps the specified trackTime through the appropriate time mapping and returns the resulting sample presentation time.
        Overrides:
        samplePresentationTimeForTrackTime in class AVAssetTrack
        Parameters:
        trackTime - The trackTime for which a sample presentation time is requested.
        Returns:
        A CMTime; will be invalid if the trackTime is out of range API-Since: 4.0 Deprecated-Since: 100000.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.