public class AVMovie extends AVAsset implements NSCopying, NSMutableCopying
| Modifier and Type | Class and Description |
|---|---|
static interface |
AVMovie.Block_loadTracksWithMediaCharacteristicCompletionHandler |
static interface |
AVMovie.Block_loadTracksWithMediaTypeCompletionHandler |
static interface |
AVMovie.Block_loadTrackWithTrackIDCompletionHandler |
AVAsset.Block_findUnusedTrackIDWithCompletionHandler, AVAsset.Block_loadChapterMetadataGroupsBestMatchingPreferredLanguagesCompletionHandler, AVAsset.Block_loadChapterMetadataGroupsWithTitleLocaleContainingItemsWithCommonKeysCompletionHandler, AVAsset.Block_loadMediaSelectionGroupForMediaCharacteristicCompletionHandler, AVAsset.Block_loadMetadataForFormatCompletionHandlerNSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_retAVAsynchronousKeyValueLoading.Block_loadValuesAsynchronouslyForKeysCompletionHandler| Modifier | Constructor and Description |
|---|---|
protected |
AVMovie(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static AVMovie |
alloc() |
static AVMovie |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static AVMovie |
assetWithURL(NSURL URL) |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
boolean |
canContainMovieFragments()
[@property] canContainMovieFragments
|
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
boolean |
containsMovieFragments()
[@property] containsMovieFragments
|
java.lang.Object |
copyWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
NSData |
data()
[@property] data
|
static java.lang.String |
debugDescription_static() |
AVMediaDataStorage |
defaultMediaDataStorage()
[@property] defaultMediaDataStorage
|
static java.lang.String |
description_static() |
static long |
hash_static() |
AVMovie |
init() |
AVMovie |
initWithDataOptions(NSData data,
NSDictionary<java.lang.String,?> options)
initWithData:options:
|
AVMovie |
initWithURLOptions(NSURL URL,
NSDictionary<java.lang.String,?> options)
initWithURL:options:
|
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
boolean |
isCompatibleWithFileType(java.lang.String fileType)
isCompatibleWithFileType:
|
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
void |
loadTracksWithMediaCharacteristicCompletionHandler(java.lang.String mediaCharacteristic,
AVMovie.Block_loadTracksWithMediaCharacteristicCompletionHandler completionHandler)
loadTracksWithMediaCharacteristic:completionHandler:
|
void |
loadTracksWithMediaTypeCompletionHandler(java.lang.String mediaType,
AVMovie.Block_loadTracksWithMediaTypeCompletionHandler completionHandler)
loadTracksWithMediaType:completionHandler:
|
void |
loadTrackWithTrackIDCompletionHandler(int trackID,
AVMovie.Block_loadTrackWithTrackIDCompletionHandler completionHandler)
loadTrackWithTrackID:completionHandler:
|
NSData |
movieHeaderWithFileTypeError(java.lang.String fileType,
org.moe.natj.general.ptr.Ptr<NSError> outError)
movieHeaderWithFileType:error:
|
static NSArray<java.lang.String> |
movieTypes()
movieTypes
|
static AVMovie |
movieWithDataOptions(NSData data,
NSDictionary<java.lang.String,?> options)
movieWithData:options:
|
static AVMovie |
movieWithURLOptions(NSURL URL,
NSDictionary<java.lang.String,?> options)
movieWithURL:options:
|
java.lang.Object |
mutableCopyWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static AVMovie |
new_objc() |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
static void |
setVersion_static(long aVersion) |
static org.moe.natj.objc.Class |
superclass_static() |
NSArray<? extends AVMovieTrack> |
tracks()
[@property] tracks
|
NSArray<? extends AVMovieTrack> |
tracksWithMediaCharacteristic(java.lang.String mediaCharacteristic)
tracksWithMediaCharacteristic:
|
NSArray<? extends AVMovieTrack> |
tracksWithMediaType(java.lang.String mediaType)
tracksWithMediaType:
|
AVMovieTrack |
trackWithTrackID(int trackID)
trackWithTrackID:
|
NSURL |
URL()
[@property] URL
|
static long |
version_static() |
boolean |
writeMovieHeaderToURLFileTypeOptionsError(NSURL URL,
java.lang.String fileType,
long options,
org.moe.natj.general.ptr.Ptr<NSError> outError)
writeMovieHeaderToURL:fileType:options:error:
|
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, unusedTrackIDaccessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, 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, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeypublic NSURL URL()
The URL with which the instance of AVMovie was initialized; may be nil.
public static boolean accessInstanceVariablesDirectly()
public static AVMovie alloc()
public static AVMovie allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public boolean 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.
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public boolean 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.
public java.lang.Object copyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
copyWithZone in interface NSCopyingcopyWithZone in class AVAssetpublic NSData data()
The data block with which the instance of AVMovie was initialized; may be nil.
public static java.lang.String debugDescription_static()
public AVMediaDataStorage 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.
public static java.lang.String description_static()
public static long hash_static()
public AVMovie initWithDataOptions(NSData data, NSDictionary<java.lang.String,?> 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.
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.public AVMovie initWithURLOptions(NSURL URL, NSDictionary<java.lang.String,?> 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.
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.public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public boolean isCompatibleWithFileType(java.lang.String fileType)
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.
fileType - A UTI indicating a movie file format (e.g. AVFileTypeQuickTimeMovie for a QuickTime movie).public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public NSData movieHeaderWithFileTypeError(java.lang.String fileType, org.moe.natj.general.ptr.Ptr<NSError> outError)
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.
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.public static NSArray<java.lang.String> movieTypes()
Provides the file types the AVMovie class understands.
public static AVMovie movieWithDataOptions(NSData data, NSDictionary<java.lang.String,?> 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.
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.public static AVMovie movieWithURLOptions(NSURL URL, NSDictionary<java.lang.String,?> 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.
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.public java.lang.Object mutableCopyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
mutableCopyWithZone in interface NSMutableCopyingpublic static AVMovie new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public AVMovieTrack trackWithTrackID(int trackID)
Provides an instance of AVMovieTrack that represents the track of the specified trackID.
Becomes callable without blocking when the key @"tracks" has been loaded
trackWithTrackID in class AVAssettrackID - The trackID of the requested AVMovieTrack.public NSArray<? extends AVMovieTrack> 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.
public NSArray<? extends AVMovieTrack> tracksWithMediaCharacteristic(java.lang.String mediaCharacteristic)
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
tracksWithMediaCharacteristic in class AVAssetmediaCharacteristic - The media characteristic according to which the receiver filters its AVMovieTracks. (Media characteristics are defined in AVMediaFormat.h)public NSArray<? extends AVMovieTrack> tracksWithMediaType(java.lang.String mediaType)
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
tracksWithMediaType in class AVAssetmediaType - The media type according to which the receiver filters its AVMovieTracks. (Media types are defined in AVMediaFormat.h)public static long version_static()
public boolean writeMovieHeaderToURLFileTypeOptionsError(NSURL URL, java.lang.String fileType, long options, org.moe.natj.general.ptr.Ptr<NSError> outError)
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.
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.public void loadTrackWithTrackIDCompletionHandler(int trackID,
AVMovie.Block_loadTrackWithTrackIDCompletionHandler completionHandler)
Loads an instance of AVMovieTrack that represents the track of the specified trackID.
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.public void loadTracksWithMediaCharacteristicCompletionHandler(java.lang.String mediaCharacteristic,
AVMovie.Block_loadTracksWithMediaCharacteristicCompletionHandler completionHandler)
Loads an array of AVMovieTracks of the asset that present media with the specified characteristic.
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.public void loadTracksWithMediaTypeCompletionHandler(java.lang.String mediaType,
AVMovie.Block_loadTracksWithMediaTypeCompletionHandler completionHandler)
Loads an array of AVMovieTracks of the asset that present media of the specified media type.
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.