Package apple.avfoundation
Class AVMovie
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.avfoundation.AVAsset
-
- apple.avfoundation.AVMovie
-
- All Implemented Interfaces:
AVAsynchronousKeyValueLoading,NSCopying,NSMutableCopying,NSObject
- Direct Known Subclasses:
AVFragmentedMovie,AVMutableMovie
public class AVMovie extends AVAsset implements NSCopying, NSMutableCopying
API-Since: 13.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAVMovie.Block_loadTracksWithMediaCharacteristicCompletionHandlerstatic interfaceAVMovie.Block_loadTracksWithMediaTypeCompletionHandlerstatic interfaceAVMovie.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 protectedAVMovie(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()static AVMoviealloc()static AVMovieallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)static AVMovieassetWithURL(@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)booleancanContainMovieFragments()[@property] canContainMovieFragments Indicates whether the movie file is capable of being extended by fragments.static @NotNull NSArray<java.lang.String>classFallbacksForKeyedArchiver()static @NotNull org.moe.natj.objc.ClassclassForKeyedUnarchiver()booleancontainsMovieFragments()[@property] containsMovieFragments Indicates whether the movie file is extended by at least one movie fragment.@NotNull java.lang.ObjectcopyWithZone(@Nullable org.moe.natj.general.ptr.VoidPtr zone)@Nullable NSDatadata()[@property] data The data block with which the instance of AVMovie was initialized; may be nil.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()AVMovieinit()AVMovieinitWithDataOptions(@NotNull NSData data, @Nullable NSDictionary<java.lang.String,?> options)initWithData:options: Creates an AVMovie object from a movie header stored in an NSData object.AVMovieinitWithURLOptions(@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.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)booleanisCompatibleWithFileType(@NotNull java.lang.String fileType)isCompatibleWithFileType: Indicates whether a movie header for the AVMovie object can be created for the specified file type.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 AVMovie.Block_loadTracksWithMediaCharacteristicCompletionHandler completionHandler)loadTracksWithMediaCharacteristic:completionHandler: Loads an array of AVMovieTracks of the asset that present media with the specified characteristic.voidloadTracksWithMediaTypeCompletionHandler(@NotNull java.lang.String mediaType, @NotNull AVMovie.Block_loadTracksWithMediaTypeCompletionHandler completionHandler)loadTracksWithMediaType:completionHandler: Loads an array of AVMovieTracks of the asset that present media of the specified media type.voidloadTrackWithTrackIDCompletionHandler(int trackID, @NotNull AVMovie.Block_loadTrackWithTrackIDCompletionHandler completionHandler)loadTrackWithTrackID:completionHandler: Loads an instance of AVMovieTrack that represents the track of the specified trackID.@Nullable NSDatamovieHeaderWithFileTypeError(@NotNull java.lang.String fileType, @Nullable org.moe.natj.general.ptr.Ptr<NSError> outError)movieHeaderWithFileType:error: Creates an NSData object containing the movie header of the AVMovie object.static @NotNull NSArray<java.lang.String>movieTypes()movieTypes Provides the file types the AVMovie class understands.static AVMoviemovieWithDataOptions(@NotNull NSData data, @Nullable NSDictionary<java.lang.String,?> options)movieWithData:options: Creates an AVMovie object from a movie header stored in an NSData object.static AVMoviemovieWithURLOptions(@NotNull NSURL URL, @Nullable NSDictionary<java.lang.String,?> options)movieWithURL:options: Creates an AVMovie object from a movie header stored in a QuickTime movie file or ISO base media file.@NotNull java.lang.ObjectmutableCopyWithZone(@Nullable org.moe.natj.general.ptr.VoidPtr zone)static AVMovienew_objc()static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)static voidsetVersion_static(long aVersion)static org.moe.natj.objc.Classsuperclass_static()@NotNull NSArray<? extends AVMovieTrack>tracks()[@property] tracks The tracks in a movie.@NotNull NSArray<? extends AVMovieTrack>tracksWithMediaCharacteristic(@NotNull java.lang.String mediaCharacteristic)Deprecated.@NotNull NSArray<? extends AVMovieTrack>tracksWithMediaType(@NotNull java.lang.String mediaType)Deprecated.@Nullable AVMovieTracktrackWithTrackID(int trackID)Deprecated.@Nullable NSURLURL()[@property] URL The URL with which the instance of AVMovie was initialized; may be nil.static booleanuseStoredAccessor()Deprecated.static longversion_static()booleanwriteMovieHeaderToURLFileTypeOptionsError(@NotNull NSURL URL, @NotNull java.lang.String fileType, long options, @Nullable org.moe.natj.general.ptr.Ptr<NSError> outError)writeMovieHeaderToURL:fileType:options:error: Writes the movie header to a destination URL.-
Methods inherited from class apple.avfoundation.AVAsset
allMediaSelections, availableChapterLocales, availableMediaCharacteristicsWithMediaSelectionOptions, availableMetadataFormats, cancelLoading, canContainFragments, chapterMetadataGroupsBestMatchingPreferredLanguages, chapterMetadataGroupsWithTitleLocaleContainingItemsWithCommonKeys, commonMetadata, containsFragments, creationDate, duration, findUnusedTrackIDWithCompletionHandler, hasProtectedContent, isCompatibleWithAirPlayVideo, isCompatibleWithSavedPhotosAlbum, isComposable, isExportable, isPlayable, isReadable, loadChapterMetadataGroupsBestMatchingPreferredLanguagesCompletionHandler, loadChapterMetadataGroupsWithTitleLocaleContainingItemsWithCommonKeysCompletionHandler, loadMediaSelectionGroupForMediaCharacteristicCompletionHandler, loadMetadataForFormatCompletionHandler, loadTracksWithMediaCharacteristicCompletionHandler, loadTracksWithMediaTypeCompletionHandler, loadTrackWithTrackIDCompletionHandler, loadValuesAsynchronouslyForKeysCompletionHandler, lyrics, mediaSelectionGroupForMediaCharacteristic, metadata, metadataForFormat, minimumTimeOffsetFromLive, naturalSize, overallDurationHint, preferredMediaSelection, preferredRate, preferredTransform, preferredVolume, providesPreciseDurationAndTiming, referenceRestrictions, statusOfValueForKeyError, trackGroups, unusedTrackID
-
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
-
URL
@Nullable public @Nullable NSURL URL()
[@property] URL The URL with which the instance of AVMovie was initialized; may be nil.
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static AVMovie alloc()
-
allocWithZone
public static AVMovie allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(@NotNull @NotNull java.lang.String key)
-
canContainMovieFragments
public boolean canContainMovieFragments()
[@property] canContainMovieFragments Indicates whether the movie file is capable of being extended by fragments. The value of this property is YES if an 'mvex' box is present in the 'moov' box. The 'mvex' box is necessary in order to signal the possible presence of later 'moof' boxes.
-
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()
-
containsMovieFragments
public boolean containsMovieFragments()
[@property] containsMovieFragments Indicates whether the movie file is extended by at least one movie fragment. The value of this property is YES if canContainMovieFragments is YES and at least one 'moof' box is present after the 'moov' box. API-Since: 13.0
-
copyWithZone
@NotNull public @NotNull java.lang.Object copyWithZone(@Nullable @Nullable org.moe.natj.general.ptr.VoidPtr zone)- Specified by:
copyWithZonein interfaceNSCopying- Overrides:
copyWithZonein classAVAsset
-
data
@Nullable public @Nullable NSData data()
[@property] data The data block with which the instance of AVMovie was initialized; may be nil. API-Since: 13.0
-
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 by default. API-Since: 13.0
-
description_static
public static java.lang.String description_static()
-
hash_static
public static long hash_static()
-
initWithDataOptions
public AVMovie initWithDataOptions(@NotNull @NotNull NSData data, @Nullable @Nullable NSDictionary<java.lang.String,?> options)
initWithData: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- 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
-
initWithURLOptions
public AVMovie initWithURLOptions(@NotNull @NotNull NSURL URL, @Nullable @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. 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.- 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
-
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)
-
isCompatibleWithFileType
public boolean isCompatibleWithFileType(@NotNull @NotNull java.lang.String fileType)isCompatibleWithFileType: Indicates whether a movie header for the AVMovie object can be created for the specified file type. This method returns a BOOL that indicates whether a movie header of the specified type can be created for the receiver. For example, this method returns NO if the movie contains tracks whose media types or media subtypes are not allowed by the specified file type. API-Since: 13.0- Parameters:
fileType- A UTI indicating a movie file format (e.g. AVFileTypeQuickTimeMovie for a QuickTime movie).
-
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)
-
movieHeaderWithFileTypeError
@Nullable public @Nullable NSData movieHeaderWithFileTypeError(@NotNull @NotNull java.lang.String fileType, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<NSError> outError)
movieHeaderWithFileType:error: Creates an NSData object containing the movie header of the AVMovie object. The movie header will be a pure reference movie, with no base URL, suitable for use on the pasteboard. API-Since: 13.0- Parameters:
fileType- A UTI indicating the specific file format of the movie header (e.g. AVFileTypeQuickTimeMovie for a QuickTime movie).outError- If an error occurs reading the movie header, describes the nature of the failure.- Returns:
- An NSData object.
-
movieTypes
@NotNull public static @NotNull NSArray<java.lang.String> movieTypes()
movieTypes Provides the file types the AVMovie class understands.- Returns:
- An NSArray of UTIs identifying the file types the AVMovie class understands.
-
movieWithDataOptions
public static AVMovie movieWithDataOptions(@NotNull @NotNull NSData data, @Nullable @Nullable NSDictionary<java.lang.String,?> options)
movieWithData: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; this might include movie headers on the pasteboard (which do not contain media data). 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- 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
-
movieWithURLOptions
public static AVMovie movieWithURLOptions(@NotNull @NotNull NSURL URL, @Nullable @Nullable NSDictionary<java.lang.String,?> options)
movieWithURL: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.- 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
-
mutableCopyWithZone
@NotNull public @NotNull java.lang.Object mutableCopyWithZone(@Nullable @Nullable org.moe.natj.general.ptr.VoidPtr zone)- Specified by:
mutableCopyWithZonein interfaceNSMutableCopying
-
new_objc
public static AVMovie 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()
-
trackWithTrackID
@Nullable @Deprecated public @Nullable AVMovieTrack trackWithTrackID(int trackID)
Deprecated.trackWithTrackID: Provides an instance of AVMovieTrack 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:
trackWithTrackIDin classAVAsset- Parameters:
trackID- The trackID of the requested AVMovieTrack.- Returns:
- An instance of AVMovieTrack; may be nil if no track of the specified trackID is available.
-
tracks
@NotNull public @NotNull NSArray<? extends AVMovieTrack> tracks()
[@property] tracks The tracks in a movie. The value of this property is an array of tracks the movie contains; the tracks are of type AVMovieTrack.
-
tracksWithMediaCharacteristic
@NotNull @Deprecated public @NotNull NSArray<? extends AVMovieTrack> tracksWithMediaCharacteristic(@NotNull @NotNull java.lang.String mediaCharacteristic)
Deprecated.tracksWithMediaCharacteristic: Provides an array of AVMovieTracks 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:
tracksWithMediaCharacteristicin classAVAsset- Parameters:
mediaCharacteristic- The media characteristic according to which the receiver filters its AVMovieTracks. (Media characteristics are defined in AVMediaFormat.h)- Returns:
- An NSArray of AVMovieTracks; may be empty if no tracks with the specified characteristic are available.
-
tracksWithMediaType
@NotNull @Deprecated public @NotNull NSArray<? extends AVMovieTrack> tracksWithMediaType(@NotNull @NotNull java.lang.String mediaType)
Deprecated.tracksWithMediaType: Provides an array of AVMovieTracks 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:
tracksWithMediaTypein classAVAsset- Parameters:
mediaType- The media type according to which the receiver filters its AVMovieTracks. (Media types are defined in AVMediaFormat.h)- Returns:
- An NSArray of AVMovieTracks; may be empty if no tracks of the specified media type are available.
-
version_static
public static long version_static()
-
writeMovieHeaderToURLFileTypeOptionsError
public boolean writeMovieHeaderToURLFileTypeOptionsError(@NotNull @NotNull NSURL URL, @NotNull @NotNull java.lang.String fileType, long options, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<NSError> outError)writeMovieHeaderToURL:fileType:options:error: Writes the movie header to a destination URL. Note that modifications to instances of AVMutableMovie, to their constituent AVMutableMovieTracks, or to their collections of metadata are committed to storage when their movie headers are written. API-Since: 13.0- Parameters:
URL- An NSURL object indicating where to write the movie header.fileType- A UTI indicating the specific file format (e.g. AVFileTypeQuickTimeMovie for a QuickTime movie).options- An NSUInteger whose bits specify options for the writing of the movie header. See AVMovieWritingOptions above.outError- If an error occurs writing the movie header, describes the nature of the failure.
-
loadTrackWithTrackIDCompletionHandler
public void loadTrackWithTrackIDCompletionHandler(int trackID, @NotNull @NotNull AVMovie.Block_loadTrackWithTrackIDCompletionHandler completionHandler)loadTrackWithTrackID:completionHandler: Loads an instance of AVMovieTrack that represents the track of the specified trackID.- Parameters:
trackID- The trackID of the requested AVMovieTrack.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 AVMovie.Block_loadTracksWithMediaCharacteristicCompletionHandler completionHandler)loadTracksWithMediaCharacteristic:completionHandler: Loads an array of AVMovieTracks of the asset that present media with the specified characteristic.- Parameters:
mediaCharacteristic- The media characteristic according to which AVAsset filters its AVMovieTracks. (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 AVMovie.Block_loadTracksWithMediaTypeCompletionHandler completionHandler)loadTracksWithMediaType:completionHandler: Loads an array of AVMovieTracks of the asset that present media of the specified media type.- Parameters:
mediaType- The media type according to which AVAsset filters its AVMovieTracks. (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.
-
-