Package apple.avfoundation
Class AVMutableMetadataItem
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.avfoundation.AVMetadataItem
-
- apple.avfoundation.AVMutableMetadataItem
-
- All Implemented Interfaces:
AVAsynchronousKeyValueLoading,NSCopying,NSMutableCopying,NSObject
public class AVMutableMetadataItem extends AVMetadataItem
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.avfoundation.AVMetadataItem
AVMetadataItem.Block_metadataItemWithPropertiesOfMetadataItemValueLoadingHandler
-
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 protectedAVMutableMetadataItem(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleanaccessInstanceVariablesDirectly()static AVMutableMetadataItemalloc()static java.lang.ObjectallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)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()java.lang.StringdataType()indicates the data type of the metadata item's value.static java.lang.StringdebugDescription_static()static java.lang.Stringdescription_static()CMTimeduration()indicates the duration of the metadata itemjava.lang.StringextendedLanguageTag()indicates the IETF BCP 47 (RFC 4646) language identifier of the metadata item; may be nil if no language tag information is availableNSDictionary<java.lang.String,?>extraAttributes()Provides a dictionary of the additional attributes.static longhash_static()java.lang.Stringidentifier()Indicates the identifier of the metadata item.static java.lang.StringidentifierForKeyKeySpace(java.lang.Object key, java.lang.String keySpace)AVMutableMetadataIteminit()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)java.lang.Objectkey()Indicates the key of the metadata item.static java.lang.ObjectkeyForIdentifier(java.lang.String identifier)static NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(java.lang.String key)java.lang.StringkeySpace()Indicates the keyspace of the metadata item's key; this will typically be the default keyspace for the metadata container in which the metadata item is stored.static java.lang.StringkeySpaceForIdentifier(java.lang.String identifier)NSLocalelocale()indicates the locale of the metadata item; may be nil if no locale information is available for the metadata itemstatic AVMutableMetadataItemmetadataItem()metadataItem Returns an instance of AVMutableMetadataItem.static NSArray<? extends AVMetadataItem>metadataItemsFromArrayFilteredAndSortedAccordingToPreferredLanguages(NSArray<? extends AVMetadataItem> metadataItems, NSArray<java.lang.String> preferredLanguages)static NSArray<? extends AVMetadataItem>metadataItemsFromArrayFilteredByIdentifier(NSArray<? extends AVMetadataItem> metadataItems, java.lang.String identifier)static NSArray<? extends AVMetadataItem>metadataItemsFromArrayFilteredByMetadataItemFilter(NSArray<? extends AVMetadataItem> metadataItems, AVMetadataItemFilter metadataItemFilter)static NSArray<? extends AVMetadataItem>metadataItemsFromArrayWithKeyKeySpace(NSArray<? extends AVMetadataItem> metadataItems, java.lang.Object key, java.lang.String keySpace)static NSArray<? extends AVMetadataItem>metadataItemsFromArrayWithLocale(NSArray<? extends AVMetadataItem> metadataItems, NSLocale locale)static AVMetadataItemmetadataItemWithPropertiesOfMetadataItemValueLoadingHandler(AVMetadataItem metadataItem, AVMetadataItem.Block_metadataItemWithPropertiesOfMetadataItemValueLoadingHandler handler)static java.lang.Objectnew_objc()static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)voidsetDataType(java.lang.String value)indicates the data type of the metadata item's value.voidsetDuration(CMTime value)indicates the duration of the metadata itemvoidsetExtendedLanguageTag(java.lang.String value)indicates the IETF BCP 47 (RFC 4646) language identifier of the metadata item; may be nil if no language tag information is availablevoidsetExtraAttributes(NSDictionary<java.lang.String,?> value)Provides a dictionary of the additional attributes.voidsetIdentifier(java.lang.String value)Indicates the identifier of the metadata item.voidsetKey(java.lang.Object value)Indicates the key of the metadata item.voidsetKeySpace(java.lang.String value)Indicates the keyspace of the metadata item's key; this will typically be the default keyspace for the metadata container in which the metadata item is stored.voidsetLocale(NSLocale value)indicates the locale of the metadata item; may be nil if no locale information is available for the metadata itemvoidsetStartDate(NSDate value)indicates the start date of the timed metadata; nil if no date is indicatedvoidsetTime(CMTime value)indicates the timestamp of the metadata item.voidsetValue(java.lang.Object value)provides the value of the metadata itemstatic voidsetVersion_static(long aVersion)NSDatestartDate()indicates the start date of the timed metadata; nil if no date is indicatedstatic org.moe.natj.objc.Classsuperclass_static()CMTimetime()indicates the timestamp of the metadata item.java.lang.Objectvalue()provides the value of the metadata itemstatic longversion_static()-
Methods inherited from class apple.avfoundation.AVMetadataItem
commonKey, copyWithZone, dataValue, dateValue, loadValuesAsynchronouslyForKeysCompletionHandler, mutableCopyWithZone, numberValue, statusOfValueForKeyError, stringValue
-
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 AVMutableMetadataItem alloc()
-
allocWithZone
public static java.lang.Object allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
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()
-
identifierForKeyKeySpace
public static java.lang.String identifierForKeyKeySpace(java.lang.Object key, java.lang.String keySpace)
-
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)
-
keyForIdentifier
public static java.lang.Object keyForIdentifier(java.lang.String identifier)
-
keyPathsForValuesAffectingValueForKey
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
-
keySpaceForIdentifier
public static java.lang.String keySpaceForIdentifier(java.lang.String identifier)
-
metadataItem
public static AVMutableMetadataItem metadataItem()
metadataItem Returns an instance of AVMutableMetadataItem.
-
metadataItemWithPropertiesOfMetadataItemValueLoadingHandler
public static AVMetadataItem metadataItemWithPropertiesOfMetadataItemValueLoadingHandler(AVMetadataItem metadataItem, AVMetadataItem.Block_metadataItemWithPropertiesOfMetadataItemValueLoadingHandler handler)
-
metadataItemsFromArrayFilteredAndSortedAccordingToPreferredLanguages
public static NSArray<? extends AVMetadataItem> metadataItemsFromArrayFilteredAndSortedAccordingToPreferredLanguages(NSArray<? extends AVMetadataItem> metadataItems, NSArray<java.lang.String> preferredLanguages)
-
metadataItemsFromArrayFilteredByIdentifier
public static NSArray<? extends AVMetadataItem> metadataItemsFromArrayFilteredByIdentifier(NSArray<? extends AVMetadataItem> metadataItems, java.lang.String identifier)
-
metadataItemsFromArrayFilteredByMetadataItemFilter
public static NSArray<? extends AVMetadataItem> metadataItemsFromArrayFilteredByMetadataItemFilter(NSArray<? extends AVMetadataItem> metadataItems, AVMetadataItemFilter metadataItemFilter)
-
metadataItemsFromArrayWithKeyKeySpace
public static NSArray<? extends AVMetadataItem> metadataItemsFromArrayWithKeyKeySpace(NSArray<? extends AVMetadataItem> metadataItems, java.lang.Object key, java.lang.String keySpace)
-
metadataItemsFromArrayWithLocale
public static NSArray<? extends AVMetadataItem> metadataItemsFromArrayWithLocale(NSArray<? extends AVMetadataItem> metadataItems, NSLocale locale)
-
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()
-
dataType
public java.lang.String dataType()
indicates the data type of the metadata item's value. Publicly defined data types are declared in- Overrides:
dataTypein classAVMetadataItem
-
duration
public CMTime duration()
indicates the duration of the metadata item- Overrides:
durationin classAVMetadataItem
-
extendedLanguageTag
public java.lang.String extendedLanguageTag()
indicates the IETF BCP 47 (RFC 4646) language identifier of the metadata item; may be nil if no language tag information is available- Overrides:
extendedLanguageTagin classAVMetadataItem
-
extraAttributes
public NSDictionary<java.lang.String,?> extraAttributes()
Provides a dictionary of the additional attributes. Extra attributes of metadata items are related to specifics of their carriage in their container format. Keys for extra attributes are declared in AVMetadataFormat.h.- Overrides:
extraAttributesin classAVMetadataItem
-
identifier
public java.lang.String identifier()
Indicates the identifier of the metadata item. Publicly defined identifiers are declared in AVMetadataIdentifiers.h.- Overrides:
identifierin classAVMetadataItem
-
init
public AVMutableMetadataItem init()
- Overrides:
initin classAVMetadataItem
-
key
public java.lang.Object key()
Indicates the key of the metadata item. Metadata item keys that are not instances NSString, NSNumber, or NSData cannot be converted to metadata identifiers; they also cannot be written to media resources via AVAssetExportSession or AVAssetWriter.- Overrides:
keyin classAVMetadataItem
-
keySpace
public java.lang.String keySpace()
Indicates the keyspace of the metadata item's key; this will typically be the default keyspace for the metadata container in which the metadata item is stored.- Overrides:
keySpacein classAVMetadataItem
-
locale
public NSLocale locale()
indicates the locale of the metadata item; may be nil if no locale information is available for the metadata item- Overrides:
localein classAVMetadataItem
-
setDataType
public void setDataType(java.lang.String value)
indicates the data type of the metadata item's value. Publicly defined data types are declared in
-
setDuration
public void setDuration(CMTime value)
indicates the duration of the metadata item
-
setExtendedLanguageTag
public void setExtendedLanguageTag(java.lang.String value)
indicates the IETF BCP 47 (RFC 4646) language identifier of the metadata item; may be nil if no language tag information is available
-
setExtraAttributes
public void setExtraAttributes(NSDictionary<java.lang.String,?> value)
Provides a dictionary of the additional attributes. Extra attributes of metadata items are related to specifics of their carriage in their container format. Keys for extra attributes are declared in AVMetadataFormat.h.
-
setIdentifier
public void setIdentifier(java.lang.String value)
Indicates the identifier of the metadata item. Publicly defined identifiers are declared in AVMetadataIdentifiers.h.
-
setKey
public void setKey(java.lang.Object value)
Indicates the key of the metadata item. Metadata item keys that are not instances NSString, NSNumber, or NSData cannot be converted to metadata identifiers; they also cannot be written to media resources via AVAssetExportSession or AVAssetWriter.
-
setKeySpace
public void setKeySpace(java.lang.String value)
Indicates the keyspace of the metadata item's key; this will typically be the default keyspace for the metadata container in which the metadata item is stored.
-
setLocale
public void setLocale(NSLocale value)
indicates the locale of the metadata item; may be nil if no locale information is available for the metadata item
-
setStartDate
public void setStartDate(NSDate value)
indicates the start date of the timed metadata; nil if no date is indicated
-
setTime
public void setTime(CMTime value)
indicates the timestamp of the metadata item.
-
setValue
public void setValue(java.lang.Object value)
provides the value of the metadata item
-
startDate
public NSDate startDate()
indicates the start date of the timed metadata; nil if no date is indicated- Overrides:
startDatein classAVMetadataItem
-
time
public CMTime time()
indicates the timestamp of the metadata item.- Overrides:
timein classAVMetadataItem
-
value
public java.lang.Object value()
provides the value of the metadata item- Overrides:
valuein classAVMetadataItem
-
-