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.
    • Constructor Detail

      • AVTimedMetadataGroup

        protected AVTimedMetadataGroup​(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()
      • 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()
      • copyFormatDescription

        public 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.
        Returns:
        An instance of CMMetadataFormatDescription sufficient to describe the contents of all the items referenced by the receiver.
      • copyWithZone

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

        public AVTimedMetadataGroup initWithItemsTimeRange​(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​(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.
      • mutableCopyWithZone

        public java.lang.Object mutableCopyWithZone​(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