Class AVPlayerItemMetadataOutput

  • All Implemented Interfaces:
    NSObject

    public class AVPlayerItemMetadataOutput
    extends AVPlayerItemOutput
    AVPlayerItemMetadataOutput A subclass of AVPlayerItemOutput that vends collections of metadata items carried in metadata tracks. Setting the value of suppressesPlayerRendering on an instance of AVPlayerItemMetadataOutput has no effect. API-Since: 8.0
    • Constructor Detail

      • AVPlayerItemMetadataOutput

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • 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()
      • advanceIntervalForDelegateInvocation

        public double advanceIntervalForDelegateInvocation()
        [@property] advanceIntervalForDelegateInvocation Permits advance invocation of the associated delegate, if any. If it is possible, an AVPlayerItemMetadataOutput will message its delegate advanceIntervalForDelegateInvocation seconds earlier than otherwise. If the value you provide is large, effectively requesting provision of samples earlier than the AVPlayerItemMetadataOutput is prepared to act on them, the delegate will be invoked as soon as possible.
      • delegate

        @Nullable
        public @Nullable AVPlayerItemMetadataOutputPushDelegate 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

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

        public AVPlayerItemMetadataOutput initWithIdentifiers​(@Nullable
                                                              @Nullable NSArray<java.lang.String> identifiers)
        initWithIdentifiers: Creates an instance of AVPlayerItemMetadataOutput. See AVMetadataIdentifiers.h for publicly defined metadata identifiers. Pass nil to receive all of the timed metadata from all enabled AVPlayerItemTracks that carry timed metadata.
        Parameters:
        identifiers - A array of metadata identifiers indicating the metadata items that the output should provide.
      • setAdvanceIntervalForDelegateInvocation

        public void setAdvanceIntervalForDelegateInvocation​(double value)
        [@property] advanceIntervalForDelegateInvocation Permits advance invocation of the associated delegate, if any. If it is possible, an AVPlayerItemMetadataOutput will message its delegate advanceIntervalForDelegateInvocation seconds earlier than otherwise. If the value you provide is large, effectively requesting provision of samples earlier than the AVPlayerItemMetadataOutput is prepared to act on them, the delegate will be invoked as soon as possible.
      • setDelegateQueue

        public void setDelegateQueue​(@Nullable
                                     @Nullable AVPlayerItemMetadataOutputPushDelegate delegate,
                                     @Nullable
                                     @Nullable dispatch_queue_t 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 AVPlayerItemMetadataOutputPushDelegate protocol.
        delegateQueue - A dispatch queue on which all delegate methods will be called.
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.