Package apple.avfoundation
Class AVComposition
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.avfoundation.AVAsset
-
- apple.avfoundation.AVComposition
-
- All Implemented Interfaces:
AVAsynchronousKeyValueLoading,NSCopying,NSMutableCopying,NSObject
- Direct Known Subclasses:
AVMutableComposition
public class AVComposition extends AVAsset implements NSMutableCopying
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.NSObject
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 protectedAVComposition(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleanaccessInstanceVariablesDirectly()static AVCompositionalloc()static java.lang.ObjectallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)static AVCompositionassetWithURL(NSURL URL)static booleanautomaticallyNotifiesObserversForKey(java.lang.String key)static voidcancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)static NSArray<java.lang.String>classFallbacksForKeyedArchiver()static org.moe.natj.objc.ClassclassForKeyedUnarchiver()static java.lang.StringdebugDescription_static()static java.lang.Stringdescription_static()static longhash_static()AVCompositioninit()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)static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(java.lang.String key)java.lang.ObjectmutableCopyWithZone(org.moe.natj.general.ptr.VoidPtr zone)CGSizenaturalSize()[@property] naturalSize Indicates the authored size of the visual portion of the composition.static java.lang.Objectnew_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()NSArray<? extends AVCompositionTrack>tracks()[@property] tracks Provides the array of AVCompositionTracks contained by the composition.NSArray<? extends AVCompositionTrack>tracksWithMediaCharacteristic(java.lang.String mediaCharacteristic)tracksWithMediaCharacteristic: Provides an array of AVCompositionTracks of the asset that present media with the specified characteristic.NSArray<? extends AVCompositionTrack>tracksWithMediaType(java.lang.String mediaType)tracksWithMediaType: Provides an array of AVCompositionTracks of the asset that present media of the specified media type.AVCompositionTracktrackWithTrackID(int trackID)trackWithTrackID: Provides an instance of AVCompositionTrack that represents the track of the specified trackID.NSDictionary<java.lang.String,?>URLAssetInitializationOptions()[@property] URLAssetInitializationOptions Specifies the initialization options for the creation of AVURLAssets by the receiver, e.g.static longversion_static()-
Methods inherited from class apple.avfoundation.AVAsset
allMediaSelections, availableChapterLocales, availableMediaCharacteristicsWithMediaSelectionOptions, availableMetadataFormats, cancelLoading, canContainFragments, chapterMetadataGroupsBestMatchingPreferredLanguages, chapterMetadataGroupsWithTitleLocaleContainingItemsWithCommonKeys, commonMetadata, containsFragments, copyWithZone, creationDate, duration, hasProtectedContent, isCompatibleWithAirPlayVideo, isCompatibleWithSavedPhotosAlbum, isComposable, isExportable, isPlayable, isReadable, loadValuesAsynchronouslyForKeysCompletionHandler, lyrics, mediaSelectionGroupForMediaCharacteristic, metadata, metadataForFormat, minimumTimeOffsetFromLive, overallDurationHint, preferredMediaSelection, preferredRate, preferredTransform, preferredVolume, providesPreciseDurationAndTiming, referenceRestrictions, statusOfValueForKeyError, trackGroups, unusedTrackID
-
Methods inherited from class apple.NSObject
accessibilityActivate, 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, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static AVComposition alloc()
-
allocWithZone
public static java.lang.Object allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
assetWithURL
public static AVComposition assetWithURL(NSURL URL)
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)
-
classFallbacksForKeyedArchiver
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
description_static
public static java.lang.String description_static()
-
hash_static
public static long hash_static()
-
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)
-
isSubclassOfClass
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
-
keyPathsForValuesAffectingValueForKey
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
-
new_objc
public static java.lang.Object new_objc()
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
setVersion_static
public static void setVersion_static(long aVersion)
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
version_static
public static long version_static()
-
URLAssetInitializationOptions
public NSDictionary<java.lang.String,?> URLAssetInitializationOptions()
[@property] URLAssetInitializationOptions Specifies the initialization options for the creation of AVURLAssets by the receiver, e.g. AVURLAssetPreferPreciseDurationAndTimingKey. The default behavior for creation of AVURLAssets by an AVComposition is equivalent to the behavior of +[AVURLAsset URLAssetWithURL:options:] when specifying no initialization options. AVCompositions create AVURLAssets internally for URLs specified by AVCompositionTrackSegments of AVCompositionTracks, as needed, whenever AVCompositionTrackSegments were originally added to a track via -[AVMutableCompositionTrack setSegments:] rather than by inserting timeranges of already existing AVAssets or AVAssetTracks. The value of URLAssetInitializationOptions can be specified at the time an AVMutableComposition is created via +compositionWithURLAssetInitializationOptions:.
-
init
public AVComposition init()
-
mutableCopyWithZone
public java.lang.Object mutableCopyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
- Specified by:
mutableCopyWithZonein interfaceNSMutableCopying
-
naturalSize
public CGSize naturalSize()
[@property] naturalSize Indicates the authored size of the visual portion of the composition.- Overrides:
naturalSizein classAVAsset
-
trackWithTrackID
public AVCompositionTrack trackWithTrackID(int trackID)
trackWithTrackID: Provides an instance of AVCompositionTrack that represents the track of the specified trackID. Becomes callable without blocking when the key @"tracks" has been loaded- Overrides:
trackWithTrackIDin classAVAsset- Parameters:
trackID- The trackID of the requested AVCompositionTrack.- Returns:
- An instance of AVCompositionTrack; may be nil if no track of the specified trackID is available.
-
tracks
public NSArray<? extends AVCompositionTrack> tracks()
[@property] tracks Provides the array of AVCompositionTracks contained by the composition.
-
tracksWithMediaCharacteristic
public NSArray<? extends AVCompositionTrack> tracksWithMediaCharacteristic(java.lang.String mediaCharacteristic)
tracksWithMediaCharacteristic: Provides an array of AVCompositionTracks of the asset that present media with the specified characteristic. Becomes callable without blocking when the key @"tracks" has been loaded- Overrides:
tracksWithMediaCharacteristicin classAVAsset- Parameters:
mediaCharacteristic- The media characteristic according to which the receiver filters its AVCompositionTracks. (Media characteristics are defined in AVMediaFormat.h)- Returns:
- An NSArray of AVCompositionTracks; may be empty if no tracks with the specified characteristic are available.
-
tracksWithMediaType
public NSArray<? extends AVCompositionTrack> tracksWithMediaType(java.lang.String mediaType)
tracksWithMediaType: Provides an array of AVCompositionTracks of the asset that present media of the specified media type. Becomes callable without blocking when the key @"tracks" has been loaded- Overrides:
tracksWithMediaTypein classAVAsset- Parameters:
mediaType- The media type according to which the receiver filters its AVCompositionTracks. (Media types are defined in AVMediaFormat.h)- Returns:
- An NSArray of AVCompositionTracks; may be empty if no tracks of the specified media type are available.
-
-