Class AVFragmentedAsset

    • Constructor Detail

      • AVFragmentedAsset

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

      • URLAssetWithURLOptions

        public static AVFragmentedAsset URLAssetWithURLOptions​(@NotNull
                                                               @NotNull NSURL URL,
                                                               @Nullable
                                                               @Nullable NSDictionary<java.lang.String,​?> options)
      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

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

        @NotNull
        public static @NotNull NSArray<java.lang.String> audiovisualMIMETypes()
      • audiovisualTypes

        @NotNull
        public static @NotNull NSArray<java.lang.String> audiovisualTypes()
      • 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()
      • fragmentedAssetWithURLOptions

        public static AVFragmentedAsset fragmentedAssetWithURLOptions​(@NotNull
                                                                      @NotNull NSURL URL,
                                                                      @Nullable
                                                                      @Nullable NSDictionary<java.lang.String,​?> options)
        fragmentedAssetWithURL:options: Returns an instance of AVFragmentedAsset for inspection of a fragmented 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 AVFragmentedAsset. See AVURLAssetPreferPreciseDurationAndTimingKey and AVURLAssetReferenceRestrictionsKey above.
        Returns:
        An instance of AVFragmentedAsset.
      • hash_static

        public static long hash_static()
      • initWithURLOptions

        public AVFragmentedAsset initWithURLOptions​(@NotNull
                                                    @NotNull NSURL URL,
                                                    @Nullable
                                                    @Nullable NSDictionary<java.lang.String,​?> options)
        Description copied from class: AVURLAsset
        initWithURL:options: Initializes an instance of AVURLAsset for inspection of a media resource.
        Overrides:
        initWithURLOptions in class AVURLAsset
        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.
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isAssociatedWithFragmentMinder

        public boolean isAssociatedWithFragmentMinder()
        Description copied from interface: AVFragmentMinding
        [@property] associatedWithFragmentMinder Indicates whether an AVAsset that supports fragment minding is currently associated with a fragment minder, e.g. an instance of AVFragmentedAssetMinder. AVAssets that support fragment minding post change notifications only while associated with a fragment minder. API-Since: 12.0
        Specified by:
        isAssociatedWithFragmentMinder in interface AVFragmentMinding
      • isPlayableExtendedMIMEType

        public static boolean isPlayableExtendedMIMEType​(@NotNull
                                                         @NotNull java.lang.String extendedMIMEType)
      • 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()
      • trackWithTrackID

        @Nullable
        @Deprecated
        public @Nullable AVFragmentedAssetTrack trackWithTrackID​(int trackID)
        Deprecated.
        trackWithTrackID: Provides an instance of AVFragmentedAssetTrack that represents the track of the specified trackID. Becomes callable without blocking when the key @"tracks" has been loaded API-Since: 4.0 Deprecated-Since: 100000.0
        Overrides:
        trackWithTrackID in class AVAsset
        Parameters:
        trackID - The trackID of the requested AVFragmentedAssetTrack.
        Returns:
        An instance of AVFragmentedAssetTrack; may be nil if no track of the specified trackID is available.
      • tracks

        @NotNull
        public @NotNull NSArray<? extends AVFragmentedAssetTrack> tracks()
        [@property] tracks The tracks in an asset. The value of this property is an array of tracks the asset contains; the tracks are of type AVFragmentedAssetTrack.
        Overrides:
        tracks in class AVAsset
      • tracksWithMediaCharacteristic

        @NotNull
        @Deprecated
        public @NotNull NSArray<? extends AVFragmentedAssetTrack> tracksWithMediaCharacteristic​(@NotNull
                                                                                                @NotNull java.lang.String mediaCharacteristic)
        Deprecated.
        tracksWithMediaCharacteristic: Provides an array of AVFragmentedAssetTracks of the asset that present media with the specified characteristic. Becomes callable without blocking when the key @"tracks" has been loaded API-Since: 4.0 Deprecated-Since: 100000.0
        Overrides:
        tracksWithMediaCharacteristic in class AVAsset
        Parameters:
        mediaCharacteristic - The media characteristic according to which the receiver filters its AVFragmentedAssetTracks. (Media characteristics are defined in AVMediaFormat.h)
        Returns:
        An NSArray of AVFragmentedAssetTracks; may be empty if no tracks with the specified characteristic are available.
      • tracksWithMediaType

        @NotNull
        @Deprecated
        public @NotNull NSArray<? extends AVFragmentedAssetTrack> tracksWithMediaType​(@NotNull
                                                                                      @NotNull java.lang.String mediaType)
        Deprecated.
        tracksWithMediaType: Provides an array of AVFragmentedAssetTracks of the asset that present media of the specified media type. Becomes callable without blocking when the key @"tracks" has been loaded API-Since: 4.0 Deprecated-Since: 100000.0
        Overrides:
        tracksWithMediaType in class AVAsset
        Parameters:
        mediaType - The media type according to which the receiver filters its AVFragmentedAssetTracks. (Media types are defined in AVMediaFormat.h)
        Returns:
        An NSArray of AVFragmentedAssetTracks; may be empty if no tracks of the specified media type are available.
      • version_static

        public static long version_static()
      • itemProviderVisibilityForRepresentationWithTypeIdentifier_static

        public static long itemProviderVisibilityForRepresentationWithTypeIdentifier_static​(@NotNull
                                                                                            @NotNull java.lang.String typeIdentifier)
      • objectWithItemProviderDataTypeIdentifierError

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

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

        @NotNull
        public static @NotNull NSArray<java.lang.String> writableTypeIdentifiersForItemProvider_static()
      • loadTrackWithTrackIDCompletionHandler

        public void loadTrackWithTrackIDCompletionHandler​(int trackID,
                                                          @NotNull
                                                          @NotNull AVFragmentedAsset.Block_loadTrackWithTrackIDCompletionHandler completionHandler)
        loadTrackWithTrackID:completionHandler: Loads an instance of AVFragmentedAssetTrack that represents the track of the specified trackID.
        Parameters:
        trackID - The trackID of the requested AVFragmentedAssetTrack.
        completionHandler - A block that is called when the loading is finished, with either the loaded track (which may be nil if no track of the specified trackID is available) or an error. API-Since: 15.0
      • loadTracksWithMediaCharacteristicCompletionHandler

        public void loadTracksWithMediaCharacteristicCompletionHandler​(@NotNull
                                                                       @NotNull java.lang.String mediaCharacteristic,
                                                                       @NotNull
                                                                       @NotNull AVFragmentedAsset.Block_loadTracksWithMediaCharacteristicCompletionHandler completionHandler)
        loadTracksWithMediaCharacteristic:completionHandler: Loads an array of AVFragmentedAssetTracks of the asset that present media with the specified characteristic.
        Parameters:
        mediaCharacteristic - The media characteristic according to which AVAsset filters its AVFragmentedAssetTracks. (Media characteristics are defined in AVMediaFormat.h.)
        completionHandler - A block that is called when the loading is finished, with either the loaded tracks (which may be empty if no tracks with the specified characteristic are available) or an error. API-Since: 15.0
      • loadTracksWithMediaTypeCompletionHandler

        public void loadTracksWithMediaTypeCompletionHandler​(@NotNull
                                                             @NotNull java.lang.String mediaType,
                                                             @NotNull
                                                             @NotNull AVFragmentedAsset.Block_loadTracksWithMediaTypeCompletionHandler completionHandler)
        loadTracksWithMediaType:completionHandler: Loads an array of AVFragmentedAssetTracks of the asset that present media of the specified media type.
        Parameters:
        mediaType - The media type according to which AVAsset filters its AVFragmentedAssetTracks. (Media types are defined in AVMediaFormat.h.)
        completionHandler - A block that is called when the loading is finished, with either the loaded tracks (which may be empty if no tracks of the specified media type are available) or an error. API-Since: 15.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.