Package apple.avfoundation
Class AVURLAsset
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.avfoundation.AVAsset
-
- apple.avfoundation.AVURLAsset
-
- All Implemented Interfaces:
AVAsynchronousKeyValueLoading,AVContentKeyRecipient,NSCopying,NSItemProviderReading,NSItemProviderWriting,NSObject
- Direct Known Subclasses:
AVFragmentedAsset
public class AVURLAsset extends AVAsset implements NSItemProviderReading, NSItemProviderWriting, AVContentKeyRecipient
-
-
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
-
Nested classes/interfaces inherited from interface apple.foundation.protocol.NSItemProviderWriting
NSItemProviderWriting.Block_loadDataWithTypeIdentifierForItemProviderCompletionHandler
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAVURLAsset(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description long_itemProviderVisibilityForRepresentationWithTypeIdentifier_static(java.lang.String typeIdentifier)java.lang.Object_objectWithItemProviderDataTypeIdentifierError(NSData data, java.lang.String typeIdentifier, org.moe.natj.general.ptr.Ptr<NSError> outError)NSArray<java.lang.String>_readableTypeIdentifiersForItemProvider()NSArray<java.lang.String>_writableTypeIdentifiersForItemProvider_static()static booleanaccessInstanceVariablesDirectly()static AVURLAssetalloc()static java.lang.ObjectallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)AVAssetCacheassetCache()[@property] assetCache Provides access to an instance of AVAssetCache to use for inspection of locally cached media data.static AVURLAssetassetWithURL(NSURL URL)static NSArray<java.lang.String>audiovisualMIMETypes()audiovisualMIMETypes Provides the MIME types the AVURLAsset class understands.static NSArray<java.lang.String>audiovisualTypes()audiovisualTypes Provides the file types the AVURLAsset class understands.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()AVAssetTrackcompatibleTrackForCompositionTrack(AVCompositionTrack compositionTrack)compatibleTrackForCompositionTrack: Provides a reference to an AVAssetTrack of the target from which any timeRange can be inserted into a mutable composition track (via -[AVMutableCompositionTrack insertTimeRange:ofTrack:atTime:error:]).static java.lang.StringdebugDescription_static()static java.lang.Stringdescription_static()static longhash_static()AVURLAssetinit()AVURLAssetinitWithURLOptions(NSURL URL, NSDictionary<java.lang.String,?> options)initWithURL:options: Initializes an instance of AVURLAsset for inspection of a media resource.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 booleanisPlayableExtendedMIMEType(java.lang.String extendedMIMEType)isPlayableExtendedMIMEType: Returns YES if asset is playable with the codec(s) and container type specified in extendedMIMEType.static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)longitemProviderVisibilityForRepresentationWithTypeIdentifier(java.lang.String typeIdentifier)static longitemProviderVisibilityForRepresentationWithTypeIdentifier_static(java.lang.String typeIdentifier)static NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(java.lang.String key)NSProgressloadDataWithTypeIdentifierForItemProviderCompletionHandler(java.lang.String typeIdentifier, NSItemProviderWriting.Block_loadDataWithTypeIdentifierForItemProviderCompletionHandler completionHandler)One of writableTypeIdentifiersForItemProviderbooleanmayRequireContentKeysForMediaDataProcessing()[@property] mayRequireContentKeysForMediaDataProcessing Indicates whether the receiver may require decryption keys for media data in order to enable processing.static java.lang.Objectnew_objc()static java.lang.ObjectobjectWithItemProviderDataTypeIdentifierError(NSData data, java.lang.String typeIdentifier, org.moe.natj.general.ptr.Ptr<NSError> outError)static NSArray<java.lang.String>readableTypeIdentifiersForItemProvider()static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)AVAssetResourceLoaderresourceLoader()[@property] resourceLoader Provides access to an instance of AVAssetResourceLoader, which offers limited control over the handling of URLs that may be loaded in the course of performing operations on the asset, such as playback.static voidsetVersion_static(long aVersion)static org.moe.natj.objc.Classsuperclass_static()NSURLURL()indicates the URL with which the instance of AVURLAsset was initializedstatic AVURLAssetURLAssetWithURLOptions(NSURL URL, NSDictionary<java.lang.String,?> options)URLAssetWithURL:options: Returns an instance of AVURLAsset for inspection of a media resource.static longversion_static()NSArray<java.lang.String>writableTypeIdentifiersForItemProvider()static NSArray<java.lang.String>writableTypeIdentifiersForItemProvider_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, naturalSize, overallDurationHint, preferredMediaSelection, preferredRate, preferredTransform, preferredVolume, providesPreciseDurationAndTiming, referenceRestrictions, statusOfValueForKeyError, trackGroups, tracks, tracksWithMediaCharacteristic, tracksWithMediaType, trackWithTrackID, 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
-
URLAssetWithURLOptions
public static AVURLAsset URLAssetWithURLOptions(NSURL URL, NSDictionary<java.lang.String,?> options)
URLAssetWithURL:options: Returns an instance of AVURLAsset for inspection of a media resource.- Parameters:
URL- An instance of NSURL that references a media resource.options- An instance of NSDictionary that contains keys for specifying options for the initialization of the AVURLAsset. See AVURLAssetPreferPreciseDurationAndTimingKey and AVURLAssetReferenceRestrictionsKey above.- Returns:
- An instance of AVURLAsset.
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static AVURLAsset alloc()
-
allocWithZone
public static java.lang.Object allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
assetWithURL
public static AVURLAsset assetWithURL(NSURL URL)
-
audiovisualMIMETypes
public static NSArray<java.lang.String> audiovisualMIMETypes()
audiovisualMIMETypes Provides the MIME types the AVURLAsset class understands.- Returns:
- An NSArray of NSStrings containing MIME types the AVURLAsset class understands.
-
audiovisualTypes
public static NSArray<java.lang.String> audiovisualTypes()
audiovisualTypes Provides the file types the AVURLAsset class understands.- Returns:
- An NSArray of UTIs identifying the file types the AVURLAsset class understands.
-
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)
-
isPlayableExtendedMIMEType
public static boolean isPlayableExtendedMIMEType(java.lang.String extendedMIMEType)
isPlayableExtendedMIMEType: Returns YES if asset is playable with the codec(s) and container type specified in extendedMIMEType. Returns NO otherwise.- Parameters:
extendedMIMEType-- Returns:
- YES or NO.
-
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()
-
URL
public NSURL URL()
indicates the URL with which the instance of AVURLAsset was initialized
-
assetCache
public AVAssetCache assetCache()
[@property] assetCache Provides access to an instance of AVAssetCache to use for inspection of locally cached media data. Will be nil if an asset has not been configured to store or access media data from disk.
-
compatibleTrackForCompositionTrack
public AVAssetTrack compatibleTrackForCompositionTrack(AVCompositionTrack compositionTrack)
compatibleTrackForCompositionTrack: Provides a reference to an AVAssetTrack of the target from which any timeRange can be inserted into a mutable composition track (via -[AVMutableCompositionTrack insertTimeRange:ofTrack:atTime:error:]). Finds a track of the target with content that can be accommodated by the specified composition track. The logical complement of -[AVMutableComposition mutableTrackCompatibleWithTrack:].- Parameters:
compositionTrack- The composition track for which a compatible AVAssetTrack is requested.- Returns:
- an instance of AVAssetTrack
-
init
public AVURLAsset init()
-
initWithURLOptions
public AVURLAsset initWithURLOptions(NSURL URL, NSDictionary<java.lang.String,?> options)
initWithURL:options: Initializes an instance of AVURLAsset for inspection of a media resource.- Parameters:
URL- An instance of NSURL that references a media resource.options- An instance of NSDictionary that contains keys for specifying options for the initialization of the AVURLAsset. See AVURLAssetPreferPreciseDurationAndTimingKey and AVURLAssetReferenceRestrictionsKey above.- Returns:
- An instance of AVURLAsset.
-
resourceLoader
public AVAssetResourceLoader resourceLoader()
[@property] resourceLoader Provides access to an instance of AVAssetResourceLoader, which offers limited control over the handling of URLs that may be loaded in the course of performing operations on the asset, such as playback. The loading of file URLs cannot be mediated via use of AVAssetResourceLoader. Note that copies of an AVAsset will vend the same instance of AVAssetResourceLoader.
-
mayRequireContentKeysForMediaDataProcessing
public boolean mayRequireContentKeysForMediaDataProcessing()
Description copied from interface:AVContentKeyRecipient[@property] mayRequireContentKeysForMediaDataProcessing Indicates whether the receiver may require decryption keys for media data in order to enable processing. When the value of mayRequireContentKeysForMediaDataProcessing is YES, adding the receiver to an AVContentKeySession allows it to employ the session's already existing keys and also enables the handling of new key requests by the AVContentKeySession's delegate.- Specified by:
mayRequireContentKeysForMediaDataProcessingin interfaceAVContentKeyRecipient
-
itemProviderVisibilityForRepresentationWithTypeIdentifier_static
public static long itemProviderVisibilityForRepresentationWithTypeIdentifier_static(java.lang.String typeIdentifier)
-
_itemProviderVisibilityForRepresentationWithTypeIdentifier_static
public long _itemProviderVisibilityForRepresentationWithTypeIdentifier_static(java.lang.String typeIdentifier)
- Specified by:
_itemProviderVisibilityForRepresentationWithTypeIdentifier_staticin interfaceNSItemProviderWriting
-
itemProviderVisibilityForRepresentationWithTypeIdentifier
public long itemProviderVisibilityForRepresentationWithTypeIdentifier(java.lang.String typeIdentifier)
-
loadDataWithTypeIdentifierForItemProviderCompletionHandler
public NSProgress loadDataWithTypeIdentifierForItemProviderCompletionHandler(java.lang.String typeIdentifier, NSItemProviderWriting.Block_loadDataWithTypeIdentifierForItemProviderCompletionHandler completionHandler)
Description copied from interface:NSItemProviderWritingOne of writableTypeIdentifiersForItemProvider- Specified by:
loadDataWithTypeIdentifierForItemProviderCompletionHandlerin interfaceNSItemProviderWriting
-
objectWithItemProviderDataTypeIdentifierError
public static java.lang.Object objectWithItemProviderDataTypeIdentifierError(NSData data, java.lang.String typeIdentifier, org.moe.natj.general.ptr.Ptr<NSError> outError)
-
_objectWithItemProviderDataTypeIdentifierError
public java.lang.Object _objectWithItemProviderDataTypeIdentifierError(NSData data, java.lang.String typeIdentifier, org.moe.natj.general.ptr.Ptr<NSError> outError)
- Specified by:
_objectWithItemProviderDataTypeIdentifierErrorin interfaceNSItemProviderReading
-
readableTypeIdentifiersForItemProvider
public static NSArray<java.lang.String> readableTypeIdentifiersForItemProvider()
-
_readableTypeIdentifiersForItemProvider
public NSArray<java.lang.String> _readableTypeIdentifiersForItemProvider()
- Specified by:
_readableTypeIdentifiersForItemProviderin interfaceNSItemProviderReading
-
writableTypeIdentifiersForItemProvider_static
public static NSArray<java.lang.String> writableTypeIdentifiersForItemProvider_static()
-
_writableTypeIdentifiersForItemProvider_static
public NSArray<java.lang.String> _writableTypeIdentifiersForItemProvider_static()
- Specified by:
_writableTypeIdentifiersForItemProvider_staticin interfaceNSItemProviderWriting
-
writableTypeIdentifiersForItemProvider
public NSArray<java.lang.String> writableTypeIdentifiersForItemProvider()
-
-