Package apple.avfoundation
Class AVMutableMovie
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.avfoundation.AVAsset
-
- apple.avfoundation.AVMovie
-
- apple.avfoundation.AVMutableMovie
-
- All Implemented Interfaces:
AVAsynchronousKeyValueLoading,NSCopying,NSMutableCopying,NSObject
public class AVMutableMovie extends AVMovie
AVMutableMovie AVMutableMovie adds to its immutable superclass, AVMovie, several categories of methods for editing QuickTime movie files, e.g. inserting and removing time ranges of media, adding and removing tracks, and modifying the metadata collections stored therein. By default, after creating an AVMutableMovie the defaultMediaDataStorage property will be nil and each associated AVMutableMovieTrack's mediaDataStorage property will be nil. If you want to create an AVMutableMovie from a file and then append sample buffers to any of its tracks, you must first set one of these properties to indicate where the sample data should be written. API-Since: 13.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAVMutableMovie.Block_loadTracksWithMediaCharacteristicCompletionHandlerstatic interfaceAVMutableMovie.Block_loadTracksWithMediaTypeCompletionHandlerstatic interfaceAVMutableMovie.Block_loadTrackWithTrackIDCompletionHandler-
Nested classes/interfaces inherited from class apple.avfoundation.AVAsset
AVAsset.Block_findUnusedTrackIDWithCompletionHandler, AVAsset.Block_loadChapterMetadataGroupsBestMatchingPreferredLanguagesCompletionHandler, AVAsset.Block_loadChapterMetadataGroupsWithTitleLocaleContainingItemsWithCommonKeysCompletionHandler, AVAsset.Block_loadMediaSelectionGroupForMediaCharacteristicCompletionHandler, AVAsset.Block_loadMetadataForFormatCompletionHandler
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Block_accessibilityActivateBlock_ret, NSObject.Block_accessibilityActivationPointBlock_ret, NSObject.Block_accessibilityAttributedHintBlock_ret, NSObject.Block_accessibilityAttributedLabelBlock_ret, NSObject.Block_accessibilityAttributedUserInputLabelsBlock_ret, NSObject.Block_accessibilityAttributedValueBlock_ret, NSObject.Block_accessibilityContainerTypeBlock_ret, NSObject.Block_accessibilityCustomActionsBlock_ret, NSObject.Block_accessibilityCustomRotorsBlock_ret, NSObject.Block_accessibilityDecrementBlock_ret, NSObject.Block_accessibilityElementsBlock_ret, NSObject.Block_accessibilityElementsHiddenBlock_ret, NSObject.Block_accessibilityFrameBlock_ret, NSObject.Block_accessibilityHeaderElementsBlock_ret, NSObject.Block_accessibilityHintBlock_ret, NSObject.Block_accessibilityIdentifierBlock_ret, NSObject.Block_accessibilityIncrementBlock_ret, NSObject.Block_accessibilityLabelBlock_ret, NSObject.Block_accessibilityLanguageBlock_ret, NSObject.Block_accessibilityMagicTapBlock_ret, NSObject.Block_accessibilityNavigationStyleBlock_ret, NSObject.Block_accessibilityPathBlock_ret, NSObject.Block_accessibilityPerformEscapeBlock_ret, NSObject.Block_accessibilityRespondsToUserInteractionBlock_ret, NSObject.Block_accessibilityShouldGroupAccessibilityChildrenBlock_ret, NSObject.Block_accessibilityTextualContextBlock_ret, NSObject.Block_accessibilityTraitsBlock_ret, NSObject.Block_accessibilityUserInputLabelsBlock_ret, NSObject.Block_accessibilityValueBlock_ret, NSObject.Block_accessibilityViewIsModalBlock_ret, NSObject.Block_automationElementsBlock_ret, NSObject.Block_isAccessibilityElementBlock_ret, NSObject.Block_setAccessibilityActivateBlock, NSObject.Block_setAccessibilityActivationPointBlock, NSObject.Block_setAccessibilityAttributedHintBlock, NSObject.Block_setAccessibilityAttributedLabelBlock, NSObject.Block_setAccessibilityAttributedUserInputLabelsBlock, NSObject.Block_setAccessibilityAttributedValueBlock, NSObject.Block_setAccessibilityContainerTypeBlock, NSObject.Block_setAccessibilityCustomActionsBlock, NSObject.Block_setAccessibilityCustomRotorsBlock, NSObject.Block_setAccessibilityDecrementBlock, NSObject.Block_setAccessibilityElementsBlock, NSObject.Block_setAccessibilityElementsHiddenBlock, NSObject.Block_setAccessibilityFrameBlock, NSObject.Block_setAccessibilityHeaderElementsBlock, NSObject.Block_setAccessibilityHintBlock, NSObject.Block_setAccessibilityIdentifierBlock, NSObject.Block_setAccessibilityIncrementBlock, NSObject.Block_setAccessibilityLabelBlock, NSObject.Block_setAccessibilityLanguageBlock, NSObject.Block_setAccessibilityMagicTapBlock, NSObject.Block_setAccessibilityNavigationStyleBlock, NSObject.Block_setAccessibilityPathBlock, NSObject.Block_setAccessibilityPerformEscapeBlock, NSObject.Block_setAccessibilityRespondsToUserInteractionBlock, NSObject.Block_setAccessibilityShouldGroupAccessibilityChildrenBlock, NSObject.Block_setAccessibilityTextualContextBlock, NSObject.Block_setAccessibilityTraitsBlock, NSObject.Block_setAccessibilityUserInputLabelsBlock, NSObject.Block_setAccessibilityValueBlock, NSObject.Block_setAccessibilityViewIsModalBlock, NSObject.Block_setAutomationElementsBlock, NSObject.Block_setIsAccessibilityElementBlock, NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
Nested classes/interfaces inherited from interface apple.avfoundation.protocol.AVAsynchronousKeyValueLoading
AVAsynchronousKeyValueLoading.Block_loadValuesAsynchronouslyForKeysCompletionHandler
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAVMutableMovie(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static booleanaccessInstanceVariablesDirectly()@NotNull NSArray<? extends AVMutableMovieTrack>addMutableTracksCopyingSettingsFromTracksOptions(@NotNull NSArray<? extends AVAssetTrack> existingTracks, @Nullable NSDictionary<java.lang.String,?> options)addMutableTracksCopyingSettingsFromTracks:options: Adds one or more empty tracks to the target movie, copying track settings from the source tracks.@Nullable AVMutableMovieTrackaddMutableTrackWithMediaTypeCopySettingsFromTrackOptions(@NotNull java.lang.String mediaType, @Nullable AVAssetTrack track, @Nullable NSDictionary<java.lang.String,?> options)addMutableTrackWithMediaType:copySettingsFromTrack:options: Adds an empty track to the target movie.static AVMutableMoviealloc()static AVMutableMovieallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)static AVMutableMovieassetWithURL(@NotNull NSURL URL)static booleanautomaticallyNotifiesObserversForKey(@NotNull java.lang.String key)static voidcancelPreviousPerformRequestsWithTarget(@NotNull java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull java.lang.Object aTarget, @NotNull org.moe.natj.objc.SEL aSelector, @Nullable java.lang.Object anArgument)@NotNull NSArray<? extends AVTimedMetadataGroup>chapterMetadataGroupsBestMatchingPreferredLanguages(@NotNull NSArray<java.lang.String> preferredLanguages)chapterMetadataGroupsBestMatchingPreferredLanguages: Tests, in order of preference, for a match between language identifiers in the specified array of preferred languages and the available chapter locales, and returns the array of chapters corresponding to the first match that's found.@NotNull NSArray<? extends AVTimedMetadataGroup>chapterMetadataGroupsWithTitleLocaleContainingItemsWithCommonKeys(@NotNull NSLocale locale, @Nullable NSArray<java.lang.String> commonKeys)chapterMetadataGroupsWithTitleLocale:containingItemsWithCommonKeys: Provides an array of chapters.static @NotNull NSArray<java.lang.String>classFallbacksForKeyedArchiver()static @NotNull org.moe.natj.objc.ClassclassForKeyedUnarchiver()static java.lang.StringdebugDescription_static()@Nullable AVMediaDataStoragedefaultMediaDataStorage()[@property] defaultMediaDataStorage The default storage container for media data added to a movie.static java.lang.Stringdescription_static()static longhash_static()AVMutableMovieinit()AVMutableMovieinitWithDataOptions(@NotNull NSData data, @Nullable NSDictionary<java.lang.String,?> options)initWithData:options: Creates an AVMovie object from a movie header stored in an NSData object.AVMutableMovieinitWithDataOptionsError(@NotNull NSData data, @Nullable NSDictionary<java.lang.String,?> options, @Nullable org.moe.natj.general.ptr.Ptr<NSError> outError)initWithData:options:error: Creates an AVMutableMovie object from a movie header stored in an NSData object.AVMutableMovieinitWithSettingsFromMovieOptionsError(@Nullable AVMovie movie, @Nullable NSDictionary<java.lang.String,?> options, @Nullable org.moe.natj.general.ptr.Ptr<NSError> outError)initWithSettingsFromMovie:options:error: Creates an AVMutableMovie object without tracks (and therefore without media).AVMutableMovieinitWithURLOptions(@NotNull NSURL URL, @Nullable NSDictionary<java.lang.String,?> options)initWithURL:options: Creates an AVMovie object from a movie header stored in a QuickTime movie file or ISO base media file.AVMutableMovieinitWithURLOptionsError(@NotNull NSURL URL, @Nullable NSDictionary<java.lang.String,?> options, @Nullable org.moe.natj.general.ptr.Ptr<NSError> outError)initWithURL:options:error: Creates an AVMutableMovie object from a movie header stored in a QuickTime movie file or ISO base media file.voidinsertEmptyTimeRange(CMTimeRange timeRange)insertEmptyTimeRange: Adds an empty time range to the target movie.booleaninsertTimeRangeOfAssetAtTimeCopySampleDataError(CMTimeRange timeRange, @NotNull AVAsset asset, CMTime startTime, boolean copySampleData, @Nullable org.moe.natj.general.ptr.Ptr<NSError> outError)insertTimeRange:ofAsset:atTime:copySampleData:error: Inserts all the tracks of a timeRange of an asset into a movie.static NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)CMTimeinterleavingPeriod()[@property] interleavingPeriod A CMTime that indicates the duration for interleaving runs of samples of each track.booleanisModified()[@property] modified Whether a movie has been modified.static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static @NotNull NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(@NotNull java.lang.String key)voidloadTracksWithMediaCharacteristicCompletionHandler(@NotNull java.lang.String mediaCharacteristic, @NotNull AVMutableMovie.Block_loadTracksWithMediaCharacteristicCompletionHandler completionHandler)loadTracksWithMediaCharacteristic:completionHandler: Loads an array of AVMutableMovieTracks of the asset that present media with the specified characteristic.voidloadTracksWithMediaTypeCompletionHandler(@NotNull java.lang.String mediaType, @NotNull AVMutableMovie.Block_loadTracksWithMediaTypeCompletionHandler completionHandler)loadTracksWithMediaType:completionHandler: Loads an array of AVMutableMovieTracks of the asset that present media of the specified media type.voidloadTrackWithTrackIDCompletionHandler(int trackID, @NotNull AVMutableMovie.Block_loadTrackWithTrackIDCompletionHandler completionHandler)loadTrackWithTrackID:completionHandler: Loads an instance of AVMutableMovieTrack that represents the track of the specified trackID.@Nullable AVMediaSelectionGroupmediaSelectionGroupForMediaCharacteristic(@NotNull java.lang.String mediaCharacteristic)mediaSelectionGroupForMediaCharacteristic: Provides an instance of AVMediaSelectionGroup that contains one or more options with the specified media characteristic.@NotNull NSArray<? extends AVMetadataItem>metadata()[@property] metadata A collection of metadata stored by the movie.@NotNull NSArray<? extends AVMetadataItem>metadataForFormat(@NotNull java.lang.String format)metadataForFormat: Provides an NSArray of AVMetadataItems, one for each metadata item in the container of the specified format; can subsequently be filtered according to language via +[AVMetadataItem metadataItemsFromArray:filteredAndSortedAccordingToPreferredLanguages:], according to locale via +[AVMetadataItem metadataItemsFromArray:withLocale:], or according to key via +[AVMetadataItem metadataItemsFromArray:withKey:keySpace:].static @NotNull NSArray<java.lang.String>movieTypes()static AVMutableMoviemovieWithDataOptions(@NotNull NSData data, @Nullable NSDictionary<java.lang.String,?> options)static AVMutableMoviemovieWithDataOptionsError(@NotNull NSData data, @Nullable NSDictionary<java.lang.String,?> options, @Nullable org.moe.natj.general.ptr.Ptr<NSError> outError)movieWithData:options:error: Creates an AVMutableMovie object from a movie header stored in an NSData object.static AVMutableMoviemovieWithSettingsFromMovieOptionsError(@Nullable AVMovie movie, @Nullable NSDictionary<java.lang.String,?> options, @Nullable org.moe.natj.general.ptr.Ptr<NSError> outError)movieWithSettingsFromMovie:options:error: Creates an AVMutableMovie object without tracks (and therefore without media).static AVMutableMoviemovieWithURLOptions(@NotNull NSURL URL, @Nullable NSDictionary<java.lang.String,?> options)static AVMutableMoviemovieWithURLOptionsError(@NotNull NSURL URL, @Nullable NSDictionary<java.lang.String,?> options, @Nullable org.moe.natj.general.ptr.Ptr<NSError> outError)movieWithURL:options:error: Creates an AVMutableMovie object from a movie header stored in a QuickTime movie file or ISO base media file.@Nullable AVMutableMovieTrackmutableTrackCompatibleWithTrack(@NotNull AVAssetTrack track)mutableTrackCompatibleWithTrack: Provides a reference to a track of a mutable movie into which any time range of an AVAssetTrack can be inserted (via -[AVMutableMovieTrack insertTimeRange:ofTrack:atTime:copySampleData:error:]).static AVMutableMovienew_objc()floatpreferredRate()[@property] preferredRate The natural rate at which the movie is to be played; often but not always 1.0.CGAffineTransformpreferredTransform()[@property] preferredTransform A CGAffineTransform indicating the transform specified in the movie's storage container as the preferred transformation of the visual media data for display purposes; the value is often but not always CGAffineTransformIdentity.floatpreferredVolume()[@property] preferredVolume The preferred volume of the audible media data of the movie; often but not always 1.0.voidremoveTimeRange(CMTimeRange timeRange)removeTimeRange: Removes a specified time range from a movie.voidremoveTrack(@NotNull AVMovieTrack track)removeTrack: Removes a track from the target movie.static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)voidscaleTimeRangeToDuration(CMTimeRange timeRange, CMTime duration)scaleTimeRange:toDuration: Changes the duration of a time range of a movie.voidsetDefaultMediaDataStorage(@Nullable AVMediaDataStorage value)[@property] defaultMediaDataStorage The default storage container for media data added to a movie.voidsetInterleavingPeriod(CMTime value)[@property] interleavingPeriod A CMTime that indicates the duration for interleaving runs of samples of each track.voidsetMetadata(@NotNull NSArray<? extends AVMetadataItem> value)[@property] metadata A collection of metadata stored by the movie.voidsetModified(boolean value)[@property] modified Whether a movie has been modified.voidsetPreferredRate(float value)[@property] preferredRate The natural rate at which the movie is to be played; often but not always 1.0.voidsetPreferredTransform(CGAffineTransform value)[@property] preferredTransform A CGAffineTransform indicating the transform specified in the movie's storage container as the preferred transformation of the visual media data for display purposes; the value is often but not always CGAffineTransformIdentity.voidsetPreferredVolume(float value)[@property] preferredVolume The preferred volume of the audible media data of the movie; often but not always 1.0.voidsetTimescale(int value)[@property] timescale For file types that contain a 'moov' atom, such as QuickTime Movie files, specifies the time scale of the movie.static voidsetVersion_static(long aVersion)static org.moe.natj.objc.Classsuperclass_static()inttimescale()[@property] timescale For file types that contain a 'moov' atom, such as QuickTime Movie files, specifies the time scale of the movie.@NotNull NSArray<? extends AVMutableMovieTrack>tracks()[@property] tracks The tracks in a mutable movie.@NotNull NSArray<? extends AVMutableMovieTrack>tracksWithMediaCharacteristic(@NotNull java.lang.String mediaCharacteristic)tracksWithMediaCharacteristic: Provides an array of AVMutableMovieTracks of the asset that present media with the specified characteristic.@NotNull NSArray<? extends AVMutableMovieTrack>tracksWithMediaType(@NotNull java.lang.String mediaType)tracksWithMediaType: Provides an array of AVMutableMovieTracks of the asset that present media of the specified media type.@Nullable AVMutableMovieTracktrackWithTrackID(int trackID)trackWithTrackID: Provides an instance of AVMutableMovieTrack that represents the track of the specified trackID.intunusedTrackID()API-Since: 4.0 Deprecated-Since: 100000.0static booleanuseStoredAccessor()Deprecated.static longversion_static()-
Methods inherited from class apple.avfoundation.AVMovie
canContainMovieFragments, containsMovieFragments, copyWithZone, data, isCompatibleWithFileType, loadTracksWithMediaCharacteristicCompletionHandler, loadTracksWithMediaTypeCompletionHandler, loadTrackWithTrackIDCompletionHandler, movieHeaderWithFileTypeError, mutableCopyWithZone, URL, writeMovieHeaderToURLFileTypeOptionsError
-
Methods inherited from class apple.avfoundation.AVAsset
allMediaSelections, availableChapterLocales, availableMediaCharacteristicsWithMediaSelectionOptions, availableMetadataFormats, cancelLoading, canContainFragments, commonMetadata, containsFragments, creationDate, duration, findUnusedTrackIDWithCompletionHandler, hasProtectedContent, isCompatibleWithAirPlayVideo, isCompatibleWithSavedPhotosAlbum, isComposable, isExportable, isPlayable, isReadable, loadChapterMetadataGroupsBestMatchingPreferredLanguagesCompletionHandler, loadChapterMetadataGroupsWithTitleLocaleContainingItemsWithCommonKeysCompletionHandler, loadMediaSelectionGroupForMediaCharacteristicCompletionHandler, loadMetadataForFormatCompletionHandler, loadTracksWithMediaCharacteristicCompletionHandler, loadTracksWithMediaTypeCompletionHandler, loadTrackWithTrackIDCompletionHandler, loadValuesAsynchronouslyForKeysCompletionHandler, lyrics, minimumTimeOffsetFromLive, naturalSize, overallDurationHint, preferredMediaSelection, providesPreciseDurationAndTiming, referenceRestrictions, statusOfValueForKeyError, trackGroups
-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivateBlock, accessibilityActivationPoint, accessibilityActivationPointBlock, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedHintBlock, accessibilityAttributedLabel, accessibilityAttributedLabelBlock, accessibilityAttributedUserInputLabels, accessibilityAttributedUserInputLabelsBlock, accessibilityAttributedValue, accessibilityAttributedValueBlock, accessibilityContainerType, accessibilityContainerTypeBlock, accessibilityCustomActions, accessibilityCustomActionsBlock, accessibilityCustomRotors, accessibilityCustomRotorsBlock, accessibilityDecrement, accessibilityDecrementBlock, accessibilityDirectTouchOptions, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsBlock, accessibilityElementsHidden, accessibilityElementsHiddenBlock, accessibilityFrame, accessibilityFrameBlock, accessibilityHeaderElementsBlock, accessibilityHint, accessibilityHintBlock, accessibilityIdentifierBlock, accessibilityIncrement, accessibilityIncrementBlock, accessibilityLabel, accessibilityLabelBlock, accessibilityLanguage, accessibilityLanguageBlock, accessibilityMagicTapBlock, accessibilityNavigationStyle, accessibilityNavigationStyleBlock, accessibilityPath, accessibilityPathBlock, accessibilityPerformEscape, accessibilityPerformEscapeBlock, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityRespondsToUserInteractionBlock, accessibilityScroll, accessibilityShouldGroupAccessibilityChildrenBlock, accessibilityTextualContext, accessibilityTextualContextBlock, accessibilityTraits, accessibilityTraitsBlock, accessibilityUserInputLabels, accessibilityUserInputLabelsBlock, accessibilityValue, accessibilityValueBlock, accessibilityViewIsModal, accessibilityViewIsModalBlock, accessibilityZoomInAtPoint, accessibilityZoomOutAtPoint, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, automationElements, automationElementsBlock, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hash, indexOfAccessibilityElement, isAccessibilityElement, isAccessibilityElementBlock, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivateBlock, setAccessibilityActivationPoint, setAccessibilityActivationPointBlock, setAccessibilityAttributedHint, setAccessibilityAttributedHintBlock, setAccessibilityAttributedLabel, setAccessibilityAttributedLabelBlock, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedUserInputLabelsBlock, setAccessibilityAttributedValue, setAccessibilityAttributedValueBlock, setAccessibilityContainerType, setAccessibilityContainerTypeBlock, setAccessibilityCustomActions, setAccessibilityCustomActionsBlock, setAccessibilityCustomRotors, setAccessibilityCustomRotorsBlock, setAccessibilityDecrementBlock, setAccessibilityDirectTouchOptions, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsBlock, setAccessibilityElementsHidden, setAccessibilityElementsHiddenBlock, setAccessibilityFrame, setAccessibilityFrameBlock, setAccessibilityHeaderElementsBlock, setAccessibilityHint, setAccessibilityHintBlock, setAccessibilityIdentifierBlock, setAccessibilityIncrementBlock, setAccessibilityLabel, setAccessibilityLabelBlock, setAccessibilityLanguage, setAccessibilityLanguageBlock, setAccessibilityMagicTapBlock, setAccessibilityNavigationStyle, setAccessibilityNavigationStyleBlock, setAccessibilityPath, setAccessibilityPathBlock, setAccessibilityPerformEscapeBlock, setAccessibilityRespondsToUserInteraction, setAccessibilityRespondsToUserInteractionBlock, setAccessibilityShouldGroupAccessibilityChildrenBlock, setAccessibilityTextualContext, setAccessibilityTextualContextBlock, setAccessibilityTraits, setAccessibilityTraitsBlock, setAccessibilityUserInputLabels, setAccessibilityUserInputLabelsBlock, setAccessibilityValue, setAccessibilityValueBlock, setAccessibilityViewIsModal, setAccessibilityViewIsModalBlock, setAutomationElements, setAutomationElementsBlock, setIsAccessibilityElement, setIsAccessibilityElementBlock, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, storedValueForKey, superclass, takeStoredValueForKey, takeValueForKey, takeValueForKeyPath, takeValuesFromDictionary, unableToSetNilForKey, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, valuesForKeys, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
addMutableTrackWithMediaTypeCopySettingsFromTrackOptions
@Nullable public @Nullable AVMutableMovieTrack addMutableTrackWithMediaTypeCopySettingsFromTrackOptions(@NotNull @NotNull java.lang.String mediaType, @Nullable @Nullable AVAssetTrack track, @Nullable @Nullable NSDictionary<java.lang.String,?> options)
addMutableTrackWithMediaType:copySettingsFromTrack:options: Adds an empty track to the target movie. The trackID of the newly added track is a property of the returned instance of AVMutableMovieTrack. This method throws an exception if media type is not equal to the track's media type, or if any option is invalid. Note that metadata will not be automatically copied.- Parameters:
mediaType- The media type of the new track (e.g. AVMediaTypeVideo for a video track).track- If you wish to transfer settings from an existing track, including width, height, preferred volume, etc., pass a reference to an AVAssetTrack representing that track. Otherwise pass nil.options- An NSDictionary object that contains keys for specifying options for the initialization of the new AVMutableMovieTrack object. Pass nil for default initialization behavior.- Returns:
- An AVMutableMovieTrack object
-
addMutableTracksCopyingSettingsFromTracksOptions
@NotNull public @NotNull NSArray<? extends AVMutableMovieTrack> addMutableTracksCopyingSettingsFromTracksOptions(@NotNull @NotNull NSArray<? extends AVAssetTrack> existingTracks, @Nullable @Nullable NSDictionary<java.lang.String,?> options)
addMutableTracksCopyingSettingsFromTracks:options: Adds one or more empty tracks to the target movie, copying track settings from the source tracks. This method creates one or more empty tracks in the target movie and configures those tracks with settings (such as track userdata and metadata, width, height, and preferred volume) copied from the source tracks in the existingTracks array. Also, properties involving pairs of tracks (such as track references) are copied from the source tracks to the target tracks. This method throws an exception if any option is invalid.- Parameters:
existingTracks- An array of AVAssetTrack objects.options- An NSDictionary object that contains keys for specifying options for the initialization of the new AVMutableMovieTrack objects. Pass nil for default initialization behavior.- Returns:
- An array of AVMutableMovieTrack objects; the index of a track in this array is the same as the index of its source track in the existingTracks array.
-
alloc
public static AVMutableMovie alloc()
-
allocWithZone
public static AVMutableMovie allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
assetWithURL
public static AVMutableMovie assetWithURL(@NotNull @NotNull NSURL URL)
-
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()
-
defaultMediaDataStorage
@Nullable public @Nullable AVMediaDataStorage defaultMediaDataStorage()
[@property] defaultMediaDataStorage The default storage container for media data added to a movie. The value of this property is an AVMediaDataStorage object that indicates where sample data that is added to a movie should be written, for any track for whose mediaDataStorage property is nil.- Overrides:
defaultMediaDataStoragein classAVMovie
-
description_static
public static java.lang.String description_static()
-
hash_static
public static long hash_static()
-
init
public AVMutableMovie init()
-
initWithDataOptions
public AVMutableMovie initWithDataOptions(@NotNull @NotNull NSData data, @Nullable @Nullable NSDictionary<java.lang.String,?> options)
Description copied from class:AVMovieinitWithData:options: Creates an AVMovie object from a movie header stored in an NSData object. You can use this method to operate on movie headers that are not stored in files. In general you should avoid loading an entire movie file with its media data into an instance of NSData! By default, the defaultMediaDataStorage property will be nil and each associated AVMovieTrack's mediaDataStorage property will be nil. If you want to create an AVMutableMovie from an NSData object and then append sample buffers to any of its tracks, you must first set one of these properties to indicate where the sample data should be written. API-Since: 13.0- Overrides:
initWithDataOptionsin classAVMovie- Parameters:
data- An NSData object containing a movie header.options- An NSDictionary object that contains keys for specifying options for the initialization of the AVMovie object.- Returns:
- An AVMovie object
-
initWithDataOptionsError
public AVMutableMovie initWithDataOptionsError(@NotNull @NotNull NSData data, @Nullable @Nullable NSDictionary<java.lang.String,?> options, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<NSError> outError)
initWithData:options:error: Creates an AVMutableMovie object from a movie header stored in an NSData object. You can use this method to operate on movie headers that are not stored in files. In general you should avoid loading an entire movie file with its media data into an instance of NSData! By default, the defaultMediaDataStorage property will be nil and each associated AVMutableMovieTrack's mediaDataStorage property will be nil. If you want to create an AVMutableMovie from an NSData object and then append sample buffers to any of its tracks, you must first set one of these properties to indicate where the sample data should be written.- Parameters:
data- An NSData object containing a movie header.options- An NSDictionary object that contains keys for specifying options for the initialization of the AVMutableMovie object.outError- If an error occurs creating a movie, describes the nature of the failure.- Returns:
- An AVMutableMovie object
-
initWithSettingsFromMovieOptionsError
public AVMutableMovie initWithSettingsFromMovieOptionsError(@Nullable @Nullable AVMovie movie, @Nullable @Nullable NSDictionary<java.lang.String,?> options, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<NSError> outError)
initWithSettingsFromMovie:options:error: Creates an AVMutableMovie object without tracks (and therefore without media). By default, the defaultMediaDataStorage property will be nil and each associated AVMovieTrack's mediaDataStorage property will be nil. If you want to create an AVMutableMovie from an NSData object and then append sample buffers to any of its tracks, you must first set one of these properties to indicate where the sample data should be written.- Parameters:
movie- If you wish to transfer settings from an existing movie (including movie userdata and metadata, preferred rate, preferred volume, etc.), pass a reference to an AVMovie object representing that movie. Otherwise pass nil. The userdata and metadata from the source movie may need to be converted if the format of that movie differs from fileType; you may wish to inspect the userdata or metadata of the receiver to ensure that important data was copied.options- An NSDictionary object that contains keys for specifying options for the initialization of the AVMutableMovie object. Pass nil for default initialization behavior.outError- If an error occurs creating a movie, describes the nature of the failure.- Returns:
- An AVMutableMovie object
-
initWithURLOptions
public AVMutableMovie initWithURLOptions(@NotNull @NotNull NSURL URL, @Nullable @Nullable NSDictionary<java.lang.String,?> options)
Description copied from class:AVMovieinitWithURL:options: Creates an AVMovie object from a movie header stored in a QuickTime movie file or ISO base media file. By default, the defaultMediaDataStorage property will be nil and each associated AVMovieTrack's mediaDataStorage property will be nil. If you want to create an AVMutableMovie from a file and then append sample buffers to any of its tracks, you must first set one of these properties to indicate where the sample data should be written.- Overrides:
initWithURLOptionsin classAVMovie- Parameters:
URL- An NSURL object that specifies a file containing a movie header.options- An NSDictionary object that contains keys for specifying options for the initialization of the AVMovie object.- Returns:
- An AVMovie object
-
initWithURLOptionsError
public AVMutableMovie initWithURLOptionsError(@NotNull @NotNull NSURL URL, @Nullable @Nullable NSDictionary<java.lang.String,?> options, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<NSError> outError)
initWithURL:options:error: Creates an AVMutableMovie object from a movie header stored in a QuickTime movie file or ISO base media file. By default, the defaultMediaDataStorage property will be nil and each associated AVMutableMovieTrack's mediaDataStorage property will be nil. If you want to create an AVMutableMovie from a file and then append sample buffers to any of its tracks, you must first set one of these properties to indicate where the sample data should be written.- Parameters:
URL- An NSURL object that specifies a file containing a movie header.options- An NSDictionary object that contains keys for specifying options for the initialization of the AVMutableMovie object.outError- If an error occurs creating a movie, describes the nature of the failure.- Returns:
- An AVMutableMovie object
-
insertEmptyTimeRange
public void insertEmptyTimeRange(CMTimeRange timeRange)
insertEmptyTimeRange: Adds an empty time range to the target movie.- Parameters:
timeRange- The time range to be made empty. Note that you cannot add empty time ranges to the end of a movie.
-
insertTimeRangeOfAssetAtTimeCopySampleDataError
public boolean insertTimeRangeOfAssetAtTimeCopySampleDataError(CMTimeRange timeRange, @NotNull @NotNull AVAsset asset, CMTime startTime, boolean copySampleData, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<NSError> outError)
insertTimeRange:ofAsset:atTime:copySampleData:error: Inserts all the tracks of a timeRange of an asset into a movie. This method may add new tracks to the target movie to ensure that all tracks of the asset are represented in the inserted timeRange. Existing content at the specified startTime will be pushed out by the duration of timeRange. Note that metadata will not be automatically copied.- Parameters:
timeRange- The time range of the asset to be inserted.asset- An AVAsset object indicating the source of the inserted media. Only instances of AVURLAsset and AVComposition are supported. Must not be nil.startTime- The time in the target movie at which the media is to be inserted.copySampleData- A BOOL value that indicates whether sample data is to be copied from the source to the destination during edits. If YES, the sample data is written to the location specified by the track property mediaDataStorage if non-nil, or else by the movie property defaultMediaDataStorage if non-nil; if both are nil, the method will fail and return NO. If NO, sample data will not be written and sample references to the samples in their original container will be added as necessary. Note that in this case, this method will fail if the source AVAsset is not able to provide sample reference information for the original container.outError- If the insertion fails, an NSError object that describes the nature of the failure.- Returns:
- A BOOL value that indicates the success of the insertion.
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
instanceMethodSignatureForSelector
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
-
instancesRespondToSelector
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
-
interleavingPeriod
public CMTime interleavingPeriod()
[@property] interleavingPeriod A CMTime that indicates the duration for interleaving runs of samples of each track. The default interleaving period is 0.5 seconds.
-
isModified
public boolean isModified()
[@property] modified Whether a movie has been modified. The value of this property is a BOOL that indicates whether the AVMutableMovie object has been modified since it was created, was last written, or had its modified state cleared via a call to setModified:NO.
-
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)
-
metadata
@NotNull public @NotNull NSArray<? extends AVMetadataItem> metadata()
[@property] metadata A collection of metadata stored by the movie. The value of this property is an array of AVMetadataItem objects representing the collection of metadata stored by the movie.
-
movieTypes
@NotNull public static @NotNull NSArray<java.lang.String> movieTypes()
-
movieWithDataOptions
public static AVMutableMovie movieWithDataOptions(@NotNull @NotNull NSData data, @Nullable @Nullable NSDictionary<java.lang.String,?> options)
-
movieWithDataOptionsError
public static AVMutableMovie movieWithDataOptionsError(@NotNull @NotNull NSData data, @Nullable @Nullable NSDictionary<java.lang.String,?> options, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<NSError> outError)
movieWithData:options:error: Creates an AVMutableMovie object from a movie header stored in an NSData object. You can use this method to operate on movie headers that are not stored in files. In general you should avoid loading an entire movie file with its media data into an instance of NSData! By default, the defaultMediaDataStorage property will be nil and each associated AVMutableMovieTrack's mediaDataStorage property will be nil. If you want to create an AVMutableMovie from an NSData object and then append sample buffers to any of its tracks, you must first set one of these properties to indicate where the sample data should be written. API-Since: 13.0- Parameters:
data- An NSData object containing a movie header.options- An NSDictionary object that contains keys for specifying options for the initialization of the AVMutableMovie object.outError- If an error occurs creating a movie, describes the nature of the failure.- Returns:
- An AVMutableMovie object
-
movieWithSettingsFromMovieOptionsError
public static AVMutableMovie movieWithSettingsFromMovieOptionsError(@Nullable @Nullable AVMovie movie, @Nullable @Nullable NSDictionary<java.lang.String,?> options, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<NSError> outError)
movieWithSettingsFromMovie:options:error: Creates an AVMutableMovie object without tracks (and therefore without media). By default, the defaultMediaDataStorage property will be nil and each associated AVMovieTrack's mediaDataStorage property will be nil. If you want to create an AVMutableMovie from an NSData object and then append sample buffers to any of its tracks, you must first set one of these properties to indicate where the sample data should be written.- Parameters:
movie- If you wish to transfer settings from an existing movie (including movie userdata and metadata, preferred rate, preferred volume, etc.), pass a reference to an AVMovie object representing that movie. Otherwise pass nil. The userdata and metadata from the source movie may need to be converted if the format of that movie differs from fileType; you may wish to inspect the userdata or metadata of the receiver to ensure that important data was copied.options- An NSDictionary object that contains keys for specifying options for the initialization of the AVMutableMovie object. Pass nil for default initialization behavior.outError- If an error occurs creating a movie, describes the nature of the failure.- Returns:
- An AVMutableMovie object
-
movieWithURLOptions
public static AVMutableMovie movieWithURLOptions(@NotNull @NotNull NSURL URL, @Nullable @Nullable NSDictionary<java.lang.String,?> options)
-
movieWithURLOptionsError
public static AVMutableMovie movieWithURLOptionsError(@NotNull @NotNull NSURL URL, @Nullable @Nullable NSDictionary<java.lang.String,?> options, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<NSError> outError)
movieWithURL:options:error: Creates an AVMutableMovie object from a movie header stored in a QuickTime movie file or ISO base media file. By default, the defaultMediaDataStorage property will be nil and each associated AVMutableMovieTrack's mediaDataStorage property will be nil. If you want to create an AVMutableMovie from a file and then append sample buffers to any of its tracks, you must first set one of these properties to indicate where the sample data should be written.- Parameters:
URL- An NSURL object that specifies a file containing a movie header.options- An NSDictionary object that contains keys for specifying options for the initialization of the AVMutableMovie object.outError- If an error occurs creating a movie, describes the nature of the failure.- Returns:
- An AVMutableMovie object
-
mutableTrackCompatibleWithTrack
@Nullable public @Nullable AVMutableMovieTrack mutableTrackCompatibleWithTrack(@NotNull @NotNull AVAssetTrack track)
mutableTrackCompatibleWithTrack: Provides a reference to a track of a mutable movie into which any time range of an AVAssetTrack can be inserted (via -[AVMutableMovieTrack insertTimeRange:ofTrack:atTime:copySampleData:error:]). For best performance, the number of tracks in a movie should be kept to a minimum, corresponding to the number for which media data must be presented in parallel. If media data of the same type is to be presented serially, even from multiple assets, a single track of that media type should be used. This method, -mutableTrackCompatibleWithTrack:, can help the client to identify an existing target track for an insertion.- Parameters:
track- A reference to the AVAssetTrack from which a time range may be inserted.- Returns:
- An AVMutableMovieTrack that can accommodate the insertion. If no such track is available, the result is nil. A new track of the same media type as the AVAssetTrack can be created via -addMutableTrackWithMediaType:copySettingsFromTrack:options:, and this new track will be compatible.
-
new_objc
public static AVMutableMovie new_objc()
-
preferredRate
public float preferredRate()
[@property] preferredRate The natural rate at which the movie is to be played; often but not always 1.0.- Overrides:
preferredRatein classAVAsset
-
preferredTransform
public CGAffineTransform preferredTransform()
[@property] preferredTransform A CGAffineTransform indicating the transform specified in the movie's storage container as the preferred transformation of the visual media data for display purposes; the value is often but not always CGAffineTransformIdentity.- Overrides:
preferredTransformin classAVAsset
-
preferredVolume
public float preferredVolume()
[@property] preferredVolume The preferred volume of the audible media data of the movie; often but not always 1.0.- Overrides:
preferredVolumein classAVAsset
-
removeTimeRange
public void removeTimeRange(CMTimeRange timeRange)
removeTimeRange: Removes a specified time range from a movie.- Parameters:
timeRange- The time range to be removed.
-
removeTrack
public void removeTrack(@NotNull @NotNull AVMovieTrack track)removeTrack: Removes a track from the target movie.- Parameters:
track- The track to be removed.
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
scaleTimeRangeToDuration
public void scaleTimeRangeToDuration(CMTimeRange timeRange, CMTime duration)
scaleTimeRange:toDuration: Changes the duration of a time range of a movie.- Parameters:
timeRange- The time range to be scaled.duration- The new duration of the time range.
-
setDefaultMediaDataStorage
public void setDefaultMediaDataStorage(@Nullable @Nullable AVMediaDataStorage value)[@property] defaultMediaDataStorage The default storage container for media data added to a movie. The value of this property is an AVMediaDataStorage object that indicates where sample data that is added to a movie should be written, for any track for whose mediaDataStorage property is nil.
-
setInterleavingPeriod
public void setInterleavingPeriod(CMTime value)
[@property] interleavingPeriod A CMTime that indicates the duration for interleaving runs of samples of each track. The default interleaving period is 0.5 seconds.
-
setMetadata
public void setMetadata(@NotNull @NotNull NSArray<? extends AVMetadataItem> value)[@property] metadata A collection of metadata stored by the movie. The value of this property is an array of AVMetadataItem objects representing the collection of metadata stored by the movie.
-
setModified
public void setModified(boolean value)
[@property] modified Whether a movie has been modified. The value of this property is a BOOL that indicates whether the AVMutableMovie object has been modified since it was created, was last written, or had its modified state cleared via a call to setModified:NO.
-
setPreferredRate
public void setPreferredRate(float value)
[@property] preferredRate The natural rate at which the movie is to be played; often but not always 1.0.
-
setPreferredTransform
public void setPreferredTransform(CGAffineTransform value)
[@property] preferredTransform A CGAffineTransform indicating the transform specified in the movie's storage container as the preferred transformation of the visual media data for display purposes; the value is often but not always CGAffineTransformIdentity.
-
setPreferredVolume
public void setPreferredVolume(float value)
[@property] preferredVolume The preferred volume of the audible media data of the movie; often but not always 1.0.
-
setTimescale
public void setTimescale(int value)
[@property] timescale For file types that contain a 'moov' atom, such as QuickTime Movie files, specifies the time scale of the movie. The default movie time scale is 600. In certain cases, you may want to set this to a different value. For instance, a movie that contains a single audio track should typically have the movie time scale set to the media time scale of that track. This property should be set on a new empty movie before any edits are performed on the movie.
-
setVersion_static
public static void setVersion_static(long aVersion)
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
timescale
public int timescale()
[@property] timescale For file types that contain a 'moov' atom, such as QuickTime Movie files, specifies the time scale of the movie. The default movie time scale is 600. In certain cases, you may want to set this to a different value. For instance, a movie that contains a single audio track should typically have the movie time scale set to the media time scale of that track. This property should be set on a new empty movie before any edits are performed on the movie.
-
trackWithTrackID
@Nullable public @Nullable AVMutableMovieTrack trackWithTrackID(int trackID)
trackWithTrackID: Provides an instance of AVMutableMovieTrack that represents the track of the specified trackID. Becomes callable without blocking when the key @"tracks" has been loaded- Overrides:
trackWithTrackIDin classAVMovie- Parameters:
trackID- The trackID of the requested AVMutableMovieTrack.- Returns:
- An instance of AVMutableMovieTrack; may be nil if no track of the specified trackID is available.
-
tracks
@NotNull public @NotNull NSArray<? extends AVMutableMovieTrack> tracks()
[@property] tracks The tracks in a mutable movie. The value of this property is an array of tracks the mutable movie contains; the tracks are of type AVMutableMovieTrack.
-
tracksWithMediaCharacteristic
@NotNull public @NotNull NSArray<? extends AVMutableMovieTrack> tracksWithMediaCharacteristic(@NotNull @NotNull java.lang.String mediaCharacteristic)
tracksWithMediaCharacteristic: Provides an array of AVMutableMovieTracks of the asset that present media with the specified characteristic. Becomes callable without blocking when the key @"tracks" has been loaded- Overrides:
tracksWithMediaCharacteristicin classAVMovie- Parameters:
mediaCharacteristic- The media characteristic according to which the receiver filters its AVMutableMovieTracks. (Media characteristics are defined in AVMediaFormat.h)- Returns:
- An NSArray of AVMutableMovieTracks; may be empty if no tracks with the specified characteristic are available.
-
tracksWithMediaType
@NotNull public @NotNull NSArray<? extends AVMutableMovieTrack> tracksWithMediaType(@NotNull @NotNull java.lang.String mediaType)
tracksWithMediaType: Provides an array of AVMutableMovieTracks of the asset that present media of the specified media type. Becomes callable without blocking when the key @"tracks" has been loaded- Overrides:
tracksWithMediaTypein classAVMovie- Parameters:
mediaType- The media type according to which the receiver filters its AVMutableMovieTracks. (Media types are defined in AVMediaFormat.h)- Returns:
- An NSArray of AVMutableMovieTracks; may be empty if no tracks of the specified media type are available.
-
version_static
public static long version_static()
-
loadTrackWithTrackIDCompletionHandler
public void loadTrackWithTrackIDCompletionHandler(int trackID, @NotNull @NotNull AVMutableMovie.Block_loadTrackWithTrackIDCompletionHandler completionHandler)loadTrackWithTrackID:completionHandler: Loads an instance of AVMutableMovieTrack that represents the track of the specified trackID.- Parameters:
trackID- The trackID of the requested AVMutableMovieTrack.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 AVMutableMovie.Block_loadTracksWithMediaCharacteristicCompletionHandler completionHandler)loadTracksWithMediaCharacteristic:completionHandler: Loads an array of AVMutableMovieTracks of the asset that present media with the specified characteristic.- Parameters:
mediaCharacteristic- The media characteristic according to which AVAsset filters its AVMutableMovieTracks. (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 AVMutableMovie.Block_loadTracksWithMediaTypeCompletionHandler completionHandler)loadTracksWithMediaType:completionHandler: Loads an array of AVMutableMovieTracks of the asset that present media of the specified media type.- Parameters:
mediaType- The media type according to which AVAsset filters its AVMutableMovieTracks. (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
-
chapterMetadataGroupsBestMatchingPreferredLanguages
@NotNull public @NotNull NSArray<? extends AVTimedMetadataGroup> chapterMetadataGroupsBestMatchingPreferredLanguages(@NotNull @NotNull NSArray<java.lang.String> preferredLanguages)
Description copied from class:AVAssetchapterMetadataGroupsBestMatchingPreferredLanguages: Tests, in order of preference, for a match between language identifiers in the specified array of preferred languages and the available chapter locales, and returns the array of chapters corresponding to the first match that's found. Safe to call without blocking when the AVAsset key availableChapterLocales has status AVKeyValueStatusLoaded. Returns an array of AVTimedMetadataGroup objects. Each object in the array always contains an AVMetadataItem representing the chapter title; the timeRange property of the AVTimedMetadataGroup object is equal to the time range of the chapter title item. All of the available chapter metadata is included in the metadata groups, including items with the common key AVMetadataCommonKeyArtwork, if such items are present. Items not carrying chapter titles will be added to an existing AVTimedMetadataGroup object if the time range (timestamp and duration) of the metadata item and that of the metadata group overlaps. The locale of such items need not match the locale of the chapter titles. Further filtering of the metadata items in AVTimedMetadataGroups according to language can be accomplished using +[AVMetadataItem metadataItemsFromArray:filteredAndSortedAccordingToPreferredLanguages:]; filtering of the metadata items according to locale can be accomplished using +[AVMetadataItem metadataItemsFromArray:withLocale:]. . API-Since: 6.0 Deprecated-Since: 100000.0- Overrides:
chapterMetadataGroupsBestMatchingPreferredLanguagesin classAVAsset- Parameters:
preferredLanguages- An array of language identifiers in order of preference, each of which is an IETF BCP 47 (RFC 4646) language identifier. Use +[NSLocale preferredLanguages] to obtain the user's list of preferred languages.- Returns:
- An NSArray of AVTimedMetadataGroup.
-
chapterMetadataGroupsWithTitleLocaleContainingItemsWithCommonKeys
@NotNull public @NotNull NSArray<? extends AVTimedMetadataGroup> chapterMetadataGroupsWithTitleLocaleContainingItemsWithCommonKeys(@NotNull @NotNull NSLocale locale, @Nullable @Nullable NSArray<java.lang.String> commonKeys)
Description copied from class:AVAssetchapterMetadataGroupsWithTitleLocale:containingItemsWithCommonKeys: Provides an array of chapters. This method returns an array of AVTimedMetadataGroup objects. Each object in the array always contains an AVMetadataItem representing the chapter title; the timeRange property of the AVTimedMetadataGroup object is equal to the time range of the chapter title item. An AVMetadataItem with the specified common key will be added to an existing AVTimedMetadataGroup object if the time range (timestamp and duration) of the metadata item and the metadata group overlaps. The locale of items not carrying chapter titles need not match the specified locale parameter. Further filtering of the metadata items in AVTimedMetadataGroups according to language can be accomplished using +[AVMetadataItem metadataItemsFromArray:filteredAndSortedAccordingToPreferredLanguages:]; filtering of the metadata items according to locale can be accomplished using +[AVMetadataItem metadataItemsFromArray:withLocale:]. API-Since: 4.3 Deprecated-Since: 100000.0- Overrides:
chapterMetadataGroupsWithTitleLocaleContainingItemsWithCommonKeysin classAVAsset- Parameters:
locale- Locale of the metadata items carrying chapter titles to be returned (supports the IETF BCP 47 specification).commonKeys- Array of common keys of AVMetadataItem to be included; can be nil. AVMetadataCommonKeyArtwork is the only supported key for now.- Returns:
- An NSArray of AVTimedMetadataGroup.
-
mediaSelectionGroupForMediaCharacteristic
@Nullable public @Nullable AVMediaSelectionGroup mediaSelectionGroupForMediaCharacteristic(@NotNull @NotNull java.lang.String mediaCharacteristic)
Description copied from class:AVAssetmediaSelectionGroupForMediaCharacteristic: Provides an instance of AVMediaSelectionGroup that contains one or more options with the specified media characteristic. Becomes callable without blocking when the key @"availableMediaCharacteristicsWithMediaSelectionOptions" has been loaded. If the asset has no AVMediaSelectionGroup containing options with the specified media characteristic, the return value will be nil. Filtering of the options in the returned AVMediaSelectionGroup according to playability, locale, and additional media characteristics can be accomplished using the category AVMediaSelectionOptionFiltering defined on AVMediaSelectionGroup. API-Since: 5.0 Deprecated-Since: 100000.0- Overrides:
mediaSelectionGroupForMediaCharacteristicin classAVAsset- Parameters:
mediaCharacteristic- A media characteristic for which you wish to obtain the available media selection options. AVMediaCharacteristicAudible, AVMediaCharacteristicLegible, and AVMediaCharacteristicVisual are currently supported. Pass AVMediaCharacteristicAudible to obtain the group of available options for audio media in various languages and for various purposes, such as descriptive audio. Pass AVMediaCharacteristicLegible to obtain the group of available options for subtitles in various languages and for various purposes. Pass AVMediaCharacteristicVisual to obtain the group of available options for video media.- Returns:
- An instance of AVMediaSelectionGroup. May be nil.
-
metadataForFormat
@NotNull public @NotNull NSArray<? extends AVMetadataItem> metadataForFormat(@NotNull @NotNull java.lang.String format)
Description copied from class:AVAssetmetadataForFormat: Provides an NSArray of AVMetadataItems, one for each metadata item in the container of the specified format; can subsequently be filtered according to language via +[AVMetadataItem metadataItemsFromArray:filteredAndSortedAccordingToPreferredLanguages:], according to locale via +[AVMetadataItem metadataItemsFromArray:withLocale:], or according to key via +[AVMetadataItem metadataItemsFromArray:withKey:keySpace:]. Becomes callable without blocking when the key @"availableMetadataFormats" has been loaded API-Since: 4.0 Deprecated-Since: 100000.0- Overrides:
metadataForFormatin classAVAsset- Parameters:
format- The metadata format for which items are requested.- Returns:
- An NSArray containing AVMetadataItems; may be empty if there is no metadata of the specified format.
-
unusedTrackID
public int unusedTrackID()
Description copied from class:AVAssetAPI-Since: 4.0 Deprecated-Since: 100000.0- Overrides:
unusedTrackIDin classAVAsset
-
useStoredAccessor
@Deprecated public static boolean useStoredAccessor()
Deprecated.
-
-