Class AVURLAsset

    • Constructor Detail

      • AVURLAsset

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

      • URLAssetWithURLOptions

        public static AVURLAsset URLAssetWithURLOptions​(NSURL URL,
                                                        NSDictionary<java.lang.String,​?> options)
        URLAssetWithURL:options: Returns an instance of AVURLAsset for inspection of a media resource.
        Parameters:
        URL - An instance of NSURL that references a media resource.
        options - An instance of NSDictionary that contains keys for specifying options for the initialization of the AVURLAsset. See AVURLAssetPreferPreciseDurationAndTimingKey and AVURLAssetReferenceRestrictionsKey above.
        Returns:
        An instance of AVURLAsset.
      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • audiovisualMIMETypes

        public static NSArray<java.lang.String> audiovisualMIMETypes()
        audiovisualMIMETypes Provides the MIME types the AVURLAsset class understands.
        Returns:
        An NSArray of NSStrings containing MIME types the AVURLAsset class understands.
      • audiovisualTypes

        public static NSArray<java.lang.String> audiovisualTypes()
        audiovisualTypes Provides the file types the AVURLAsset class understands.
        Returns:
        An NSArray of UTIs identifying the file types the AVURLAsset class understands.
      • 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)
      • isPlayableExtendedMIMEType

        public static boolean isPlayableExtendedMIMEType​(java.lang.String extendedMIMEType)
        isPlayableExtendedMIMEType: Returns YES if asset is playable with the codec(s) and container type specified in extendedMIMEType. Returns NO otherwise.
        Parameters:
        extendedMIMEType -
        Returns:
        YES or NO.
      • 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()
      • URL

        public NSURL URL()
        indicates the URL with which the instance of AVURLAsset was initialized
      • assetCache

        public AVAssetCache assetCache()
        [@property] assetCache Provides access to an instance of AVAssetCache to use for inspection of locally cached media data. Will be nil if an asset has not been configured to store or access media data from disk.
      • compatibleTrackForCompositionTrack

        public AVAssetTrack compatibleTrackForCompositionTrack​(AVCompositionTrack compositionTrack)
        compatibleTrackForCompositionTrack: Provides a reference to an AVAssetTrack of the target from which any timeRange can be inserted into a mutable composition track (via -[AVMutableCompositionTrack insertTimeRange:ofTrack:atTime:error:]). Finds a track of the target with content that can be accommodated by the specified composition track. The logical complement of -[AVMutableComposition mutableTrackCompatibleWithTrack:].
        Parameters:
        compositionTrack - The composition track for which a compatible AVAssetTrack is requested.
        Returns:
        an instance of AVAssetTrack
      • initWithURLOptions

        public AVURLAsset initWithURLOptions​(NSURL URL,
                                             NSDictionary<java.lang.String,​?> options)
        initWithURL:options: Initializes an instance of AVURLAsset for inspection of a media resource.
        Parameters:
        URL - An instance of NSURL that references a media resource.
        options - An instance of NSDictionary that contains keys for specifying options for the initialization of the AVURLAsset. See AVURLAssetPreferPreciseDurationAndTimingKey and AVURLAssetReferenceRestrictionsKey above.
        Returns:
        An instance of AVURLAsset.
      • resourceLoader

        public AVAssetResourceLoader resourceLoader()
        [@property] resourceLoader Provides access to an instance of AVAssetResourceLoader, which offers limited control over the handling of URLs that may be loaded in the course of performing operations on the asset, such as playback. The loading of file URLs cannot be mediated via use of AVAssetResourceLoader. Note that copies of an AVAsset will vend the same instance of AVAssetResourceLoader.
      • mayRequireContentKeysForMediaDataProcessing

        public boolean mayRequireContentKeysForMediaDataProcessing()
        Description copied from interface: AVContentKeyRecipient
        [@property] mayRequireContentKeysForMediaDataProcessing Indicates whether the receiver may require decryption keys for media data in order to enable processing. When the value of mayRequireContentKeysForMediaDataProcessing is YES, adding the receiver to an AVContentKeySession allows it to employ the session's already existing keys and also enables the handling of new key requests by the AVContentKeySession's delegate.
        Specified by:
        mayRequireContentKeysForMediaDataProcessing in interface AVContentKeyRecipient
      • itemProviderVisibilityForRepresentationWithTypeIdentifier_static

        public static long itemProviderVisibilityForRepresentationWithTypeIdentifier_static​(java.lang.String typeIdentifier)
      • itemProviderVisibilityForRepresentationWithTypeIdentifier

        public long itemProviderVisibilityForRepresentationWithTypeIdentifier​(java.lang.String typeIdentifier)
      • objectWithItemProviderDataTypeIdentifierError

        public static java.lang.Object objectWithItemProviderDataTypeIdentifierError​(NSData data,
                                                                                     java.lang.String typeIdentifier,
                                                                                     org.moe.natj.general.ptr.Ptr<NSError> outError)
      • readableTypeIdentifiersForItemProvider

        public static NSArray<java.lang.String> readableTypeIdentifiersForItemProvider()
      • writableTypeIdentifiersForItemProvider_static

        public static NSArray<java.lang.String> writableTypeIdentifiersForItemProvider_static()
      • writableTypeIdentifiersForItemProvider

        public NSArray<java.lang.String> writableTypeIdentifiersForItemProvider()