Class AVPlayerItemMetadataCollector

  • All Implemented Interfaces:
    NSObject

    public class AVPlayerItemMetadataCollector
    extends AVPlayerItemMediaDataCollector
    AVPlayerItemMetadataCollector A subclass of AVPlayerItemMediaDataCollector that provides AVMetadataGroups for an AVPlayerItem. This class can be used to inform clients of the current set of AVMetadataGroups on an AVPlayerItem, and when new AVMetadataGroups become available - e.g. in a Live HLS stream.
    • Constructor Detail

      • AVPlayerItemMetadataCollector

        protected AVPlayerItemMetadataCollector​(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()
      • delegate

        public AVPlayerItemMetadataCollectorPushDelegate delegate()
        [@property] delegate The receiver's delegate. The delegate is held using a zeroing-weak reference, so this property will have a value of nil after a delegate that was previously set has been deallocated. This property is not key-value observable.
      • delegateQueue

        public NSObject delegateQueue()
        [@property] delegateQueue The dispatch queue on which messages are sent to the delegate. This property is not key-value observable.
      • initWithIdentifiersClassifyingLabels

        public AVPlayerItemMetadataCollector initWithIdentifiersClassifyingLabels​(NSArray<java.lang.String> identifiers,
                                                                                  NSArray<java.lang.String> classifyingLabels)
        initWithIdentifiers:classifyingLabels: Returns an instance of AVPlayerItemMetadataCollector that can provide all available AVMetadataGroups matching a set of criteria. Some metadata available in some formats - such as timed metadata embedded in HLS segments - is not available for collector output. The default init method can be used as an alternative to setting both identifiers and classifyingLabels to nil.
        Parameters:
        identifiers - A array of metadata identifiers indicating the metadata items that the output should provide. See AVMetadataIdentifiers.h for publicly defined metadata identifiers. Pass nil to include metadata with any identifier.
        classifyingLabels - If the metadata format supports labeling each metadata group with a string, supplying an array of group labels indicates that the output should provide metadata groups that match one of the supplied labels. Pass nil to include metadata with any (or no) classifying label.
        Returns:
        An instance of AVPlayerItemMetadataCollector.
      • setDelegateQueue

        public void setDelegateQueue​(AVPlayerItemMetadataCollectorPushDelegate delegate,
                                     NSObject delegateQueue)
        setDelegate:queue: Sets the receiver's delegate and a dispatch queue on which the delegate will be called.
        Parameters:
        delegate - An object conforming to AVPlayerItemMetadataCollectorPushDelegate protocol.
        delegateQueue - A dispatch queue on which all delegate methods will be called.