Class AVPlayerItemTrack

  • All Implemented Interfaces:
    NSObject

    public class AVPlayerItemTrack
    extends NSObject
    AVPlayerItemTrack An AVPlayerItemTrack carries a reference to an AVAssetTrack as well as presentation settings for that track. Note that inspection of assets tracks is provided by AVAssetTrack. This class is intended to represent presentation state for a track of an asset that's played by an AVPlayer and AVPlayerItem. To ensure safe access to AVPlayerItemTrack's nonatomic properties while dynamic changes in playback state may be reported, clients must serialize their access with the associated AVPlayer's notification queue. In the common case, such serialization is naturally achieved by invoking AVPlayerItemTrack's various methods on the main thread or queue.
    • Constructor Detail

      • AVPlayerItemTrack

        protected AVPlayerItemTrack​(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()
      • assetTrack

        public AVAssetTrack assetTrack()
        [@property] assetTrack Indicates the AVAssetTrack for which the AVPlayerItemTrack represents presentation state. This property is not observable. Clients must serialize their access to the resulting AVAssetTrack and related objects on the associated AVPlayer's notification queue. By default, this queue is the main queue.
      • currentVideoFrameRate

        public float currentVideoFrameRate()
        [@property] currentVideoFrameRate If the media type of the assetTrack is AVMediaTypeVideo, indicates the current frame rate of the track as it plays, in units of frames per second. If the item is not playing, or if the media type of the track is not video, the value of this property is 0. This property is not observable.
      • isEnabled

        public boolean isEnabled()
        [@property] enabled Indicates whether the track is enabled for presentation during playback.
      • setEnabled

        public void setEnabled​(boolean value)
        [@property] enabled Indicates whether the track is enabled for presentation during playback.