Class AVTimedMetadataGroup

  • All Implemented Interfaces:
    NSCopying, NSMutableCopying, NSObject
    Direct Known Subclasses:
    AVMutableTimedMetadataGroup

    public class AVTimedMetadataGroup
    extends AVMetadataGroup
    implements NSCopying, NSMutableCopying
    AVTimedMetadataGroup AVTimedMetadataGroup is used to represent a collection of metadata items that are valid for use during a specific range of time. For example, AVTimedMetadataGroups are used to represent chapters, optionally containing metadata items for chapter titles and chapter images. API-Since: 4.3
    • Constructor Detail

      • AVTimedMetadataGroup

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static AVTimedMetadataGroup 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()
      • copyFormatDescription

        @Nullable
        public @Nullable CMFormatDescriptionRef copyFormatDescription()
        copyFormatDescription Creates a format description based on the receiver's items. The returned format description is suitable for use as the format hint parameter when creating an instance of AVAssetWriterInput. Each item referenced by the receiver must carry a non-nil value for its dataType property. An exception will be thrown if any item does not have a data type. API-Since: 8.0
        Returns:
        An instance of CMMetadataFormatDescription sufficient to describe the contents of all the items referenced by the receiver.
      • copyWithZone

        @NotNull
        public @NotNull java.lang.Object copyWithZone​(@Nullable
                                                      @Nullable org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • initWithItemsTimeRange

        public AVTimedMetadataGroup initWithItemsTimeRange​(@NotNull
                                                           @NotNull NSArray<? extends AVMetadataItem> items,
                                                           CMTimeRange timeRange)
        initWithItems:timeRange: Initializes an instance of AVTimedMetadataGroup with a collection of metadata items.
        Parameters:
        items - An NSArray of AVMetadataItems.
        timeRange - The timeRange of the collection of AVMetadataItems.
        Returns:
        An instance of AVTimedMetadataGroup.
      • initWithSampleBuffer

        public AVTimedMetadataGroup initWithSampleBuffer​(@NotNull
                                                         @NotNull CMSampleBufferRef sampleBuffer)
        initWithSampleBuffer: Initializes an instance of AVTimedMetadataGroup with a sample buffer.
        Parameters:
        sampleBuffer - A CMSampleBuffer with media type kCMMediaType_Metadata.
        Returns:
        An instance of AVTimedMetadataGroup. API-Since: 8.0
      • mutableCopyWithZone

        @NotNull
        public @NotNull java.lang.Object mutableCopyWithZone​(@Nullable
                                                             @Nullable org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        mutableCopyWithZone in interface NSMutableCopying
      • timeRange

        public CMTimeRange timeRange()
        indicates the time range of the timed metadata
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.