Package apple.avfoundation
Class AVAssetWriterInputGroup
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.avfoundation.AVMediaSelectionGroup
-
- apple.avfoundation.AVAssetWriterInputGroup
-
public class AVAssetWriterInputGroup extends AVMediaSelectionGroup
AVAssetWriterInputGroup Associates tracks corresponding to inputs with each other in a mutually exclusive relationship. This class is used to associate tracks corresponding to multiple AVAssetWriterInputs as mutually exclusive to each other for playback or other processing. For example, if you are creating an asset with multiple audio tracks using different spoken languages, only one of which should be played at a time, group the inputs corresponding to those tracks into a single instance of AVAssetWriterInputGroup and add the group to the AVAssetWriter via -[AVAssetWriter addInputGroup:]. If the output format supports mutually exlusive relationships among tracks, the AVAssetWriter will mark the tracks as mutually exclusive to each other. Note that because AVAssetWriterInputGroup is a subclass of AVMediaSelectionGroup, clients can examine the media selection options that will be available on the output asset before the asset is written. Best results for examining the options of the AVAssetWriterInputGroup will be obtained after associating the AVAssetWriterInputs of the AVAsset as appropriate via -[AVAssetWriterInput addTrackAssociationWithTrackOfInput:type:] and by initializing each AVAssetWriterInput with a source format hint, where appropriate.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAVAssetWriterInputGroup(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleanaccessInstanceVariablesDirectly()static AVAssetWriterInputGroupalloc()static java.lang.ObjectallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)static AVAssetWriterInputGroupassetWriterInputGroupWithInputsDefaultInput(NSArray<? extends AVAssetWriterInput> inputs, AVAssetWriterInput defaultInput)assetWriterInputGroupWithInputs:defaultInput: Creates an instance of AVAssetWriterInputGroup, for use with -[AVAssetWriter addInputGroup:].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()AVAssetWriterInputdefaultInput()[@property] defaultInput The input designated at the defaultInput of the receiver.static java.lang.Stringdescription_static()static longhash_static()AVAssetWriterInputGroupinit()AVAssetWriterInputGroupinitWithInputsDefaultInput(NSArray<? extends AVAssetWriterInput> inputs, AVAssetWriterInput defaultInput)initWithInputs:defaultInput: Creates an instance of AVAssetWriterInputGroup, for use with -[AVAssetWriter addInputGroup:].NSArray<? extends AVAssetWriterInput>inputs()[@property] inputs The inputs grouped together by the receiver.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)static NSArray<? extends AVMediaSelectionOption>mediaSelectionOptionsFromArrayFilteredAndSortedAccordingToPreferredLanguages(NSArray<? extends AVMediaSelectionOption> mediaSelectionOptions, NSArray<java.lang.String> preferredLanguages)static NSArray<? extends AVMediaSelectionOption>mediaSelectionOptionsFromArrayWithLocale(NSArray<? extends AVMediaSelectionOption> mediaSelectionOptions, NSLocale locale)static NSArray<? extends AVMediaSelectionOption>mediaSelectionOptionsFromArrayWithMediaCharacteristics(NSArray<? extends AVMediaSelectionOption> mediaSelectionOptions, NSArray<java.lang.String> mediaCharacteristics)static NSArray<? extends AVMediaSelectionOption>mediaSelectionOptionsFromArrayWithoutMediaCharacteristics(NSArray<? extends AVMediaSelectionOption> mediaSelectionOptions, NSArray<java.lang.String> mediaCharacteristics)static java.lang.Objectnew_objc()static NSArray<? extends AVMediaSelectionOption>playableMediaSelectionOptionsFromArray(NSArray<? extends AVMediaSelectionOption> mediaSelectionOptions)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()static longversion_static()-
Methods inherited from class apple.avfoundation.AVMediaSelectionGroup
allowsEmptySelection, copyWithZone, defaultOption, makeNowPlayingInfoLanguageOptionGroup, mediaSelectionOptionWithPropertyList, options
-
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 AVAssetWriterInputGroup alloc()
-
allocWithZone
public static java.lang.Object allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
assetWriterInputGroupWithInputsDefaultInput
public static AVAssetWriterInputGroup assetWriterInputGroupWithInputsDefaultInput(NSArray<? extends AVAssetWriterInput> inputs, AVAssetWriterInput defaultInput)
assetWriterInputGroupWithInputs:defaultInput: Creates an instance of AVAssetWriterInputGroup, for use with -[AVAssetWriter addInputGroup:].- Parameters:
inputs- The collection of AVAssetWriterInputs to be grouped together.defaultInput- The instance of AVAssetWriterInput in the group to designate as the default. When the input group is added to an AVAssetWriter via -addInputGroup:, the value of marksOutputTrackAsEnabled will automatically be set to YES for the default input and set to NO for all of the other inputs in the group.- Returns:
- An instance of AVAssetWriterInputGroup, for use with -[AVAssetWriter addInputGroup:].
-
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)
-
mediaSelectionOptionsFromArrayFilteredAndSortedAccordingToPreferredLanguages
public static NSArray<? extends AVMediaSelectionOption> mediaSelectionOptionsFromArrayFilteredAndSortedAccordingToPreferredLanguages(NSArray<? extends AVMediaSelectionOption> mediaSelectionOptions, NSArray<java.lang.String> preferredLanguages)
-
mediaSelectionOptionsFromArrayWithLocale
public static NSArray<? extends AVMediaSelectionOption> mediaSelectionOptionsFromArrayWithLocale(NSArray<? extends AVMediaSelectionOption> mediaSelectionOptions, NSLocale locale)
-
mediaSelectionOptionsFromArrayWithMediaCharacteristics
public static NSArray<? extends AVMediaSelectionOption> mediaSelectionOptionsFromArrayWithMediaCharacteristics(NSArray<? extends AVMediaSelectionOption> mediaSelectionOptions, NSArray<java.lang.String> mediaCharacteristics)
-
mediaSelectionOptionsFromArrayWithoutMediaCharacteristics
public static NSArray<? extends AVMediaSelectionOption> mediaSelectionOptionsFromArrayWithoutMediaCharacteristics(NSArray<? extends AVMediaSelectionOption> mediaSelectionOptions, NSArray<java.lang.String> mediaCharacteristics)
-
new_objc
public static java.lang.Object new_objc()
-
playableMediaSelectionOptionsFromArray
public static NSArray<? extends AVMediaSelectionOption> playableMediaSelectionOptionsFromArray(NSArray<? extends AVMediaSelectionOption> mediaSelectionOptions)
-
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()
-
defaultInput
public AVAssetWriterInput defaultInput()
[@property] defaultInput The input designated at the defaultInput of the receiver. The value of this property is a concrete instance of AVAssetWriterInput.
-
init
public AVAssetWriterInputGroup init()
- Overrides:
initin classAVMediaSelectionGroup
-
initWithInputsDefaultInput
public AVAssetWriterInputGroup initWithInputsDefaultInput(NSArray<? extends AVAssetWriterInput> inputs, AVAssetWriterInput defaultInput)
initWithInputs:defaultInput: Creates an instance of AVAssetWriterInputGroup, for use with -[AVAssetWriter addInputGroup:].- Parameters:
inputs- The collection of AVAssetWriterInputs to be grouped together.defaultInput- The instance of AVAssetWriterInput in the group to designate as the default. When the input group is added to an AVAssetWriter via -addInputGroup:, the value of marksOutputTrackAsEnabled will automatically be set to YES for the default input and set to NO for all of the other inputs in the group.- Returns:
- An instance of AVAssetWriterInputGroup, for use with -[AVAssetWriter addInputGroup:].
-
inputs
public NSArray<? extends AVAssetWriterInput> inputs()
[@property] inputs The inputs grouped together by the receiver. The value of this property is an NSArray containing concrete instances of AVAssetWriterInput.
-
-