public class AVMediaSelectionGroup extends NSObject implements NSCopying
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
AVMediaSelectionGroup(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static AVMediaSelectionGroup |
alloc() |
static AVMediaSelectionGroup |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
boolean |
allowsEmptySelection()
[@property] allowsEmptySelection
|
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) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
java.lang.Object |
copyWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static java.lang.String |
debugDescription_static() |
AVMediaSelectionOption |
defaultOption()
[@property] defaultOption
|
static java.lang.String |
description_static() |
static long |
hash_static() |
AVMediaSelectionGroup |
init() |
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) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
MPNowPlayingInfoLanguageOptionGroup |
makeNowPlayingInfoLanguageOptionGroup()
Will create a language option group from the AVMediaSelectionGroup
Any AVMediaSelectionOptions in the AVMediaSelectionGroup not representing
Audible or Legible selection options will be ignored.
|
static NSArray<? extends AVMediaSelectionOption> |
mediaSelectionOptionsFromArrayFilteredAndSortedAccordingToPreferredLanguages(NSArray<? extends AVMediaSelectionOption> mediaSelectionOptions,
NSArray<java.lang.String> preferredLanguages)
mediaSelectionOptionsFromArray:filteredAndSortedAccordingToPreferredLanguages:
|
static NSArray<? extends AVMediaSelectionOption> |
mediaSelectionOptionsFromArrayWithLocale(NSArray<? extends AVMediaSelectionOption> mediaSelectionOptions,
NSLocale locale)
mediaSelectionOptionsFromArray:withLocale:
|
static NSArray<? extends AVMediaSelectionOption> |
mediaSelectionOptionsFromArrayWithMediaCharacteristics(NSArray<? extends AVMediaSelectionOption> mediaSelectionOptions,
NSArray<java.lang.String> mediaCharacteristics)
mediaSelectionOptionsFromArray:withMediaCharacteristics:
|
static NSArray<? extends AVMediaSelectionOption> |
mediaSelectionOptionsFromArrayWithoutMediaCharacteristics(NSArray<? extends AVMediaSelectionOption> mediaSelectionOptions,
NSArray<java.lang.String> mediaCharacteristics)
mediaSelectionOptionsFromArray:withoutMediaCharacteristics:
|
AVMediaSelectionOption |
mediaSelectionOptionWithPropertyList(java.lang.Object plist)
mediaSelectionOptionWithPropertyList:
|
static AVMediaSelectionGroup |
new_objc() |
NSArray<? extends AVMediaSelectionOption> |
options()
[@property] options
|
static NSArray<? extends AVMediaSelectionOption> |
playableMediaSelectionOptionsFromArray(NSArray<? extends AVMediaSelectionOption> mediaSelectionOptions)
playableMediaSelectionOptionsFromArray:
|
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() |
static long |
version_static() |
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, willChangeValuesAtIndexesForKeyprotected AVMediaSelectionGroup(org.moe.natj.general.Pointer peer)
public static boolean accessInstanceVariablesDirectly()
public static AVMediaSelectionGroup alloc()
public static AVMediaSelectionGroup allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
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 static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
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 static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static NSArray<? extends AVMediaSelectionOption> mediaSelectionOptionsFromArrayFilteredAndSortedAccordingToPreferredLanguages(NSArray<? extends AVMediaSelectionOption> mediaSelectionOptions, NSArray<java.lang.String> preferredLanguages)
Filters an array of AVMediaSelectionOptions according to whether their locales match any language identifier in the specified array of preferred languages. The returned array is sorted according to the order of preference of the language each matches.
mediaSelectionOptions - An array of AVMediaSelectionOptions to be filtered and sorted.preferredLanguages - An array of language identifiers in order of preference, each of which is an IETF BCP 47 (RFC 4646) language identifier. Use +[NSLocale preferredLanguages] to obtain the user's list of preferred languages.public static NSArray<? extends AVMediaSelectionOption> mediaSelectionOptionsFromArrayWithLocale(NSArray<? extends AVMediaSelectionOption> mediaSelectionOptions, NSLocale locale)
Filters an array of AVMediaSelectionOptions according to locale.
mediaSelectionOptions - An array of AVMediaSelectionOption to be filtered by locale.locale - The NSLocale that must be matched for a media selection option to be copied to the output array.public static NSArray<? extends AVMediaSelectionOption> mediaSelectionOptionsFromArrayWithMediaCharacteristics(NSArray<? extends AVMediaSelectionOption> mediaSelectionOptions, NSArray<java.lang.String> mediaCharacteristics)
Filters an array of AVMediaSelectionOptions according to one or more media characteristics.
mediaSelectionOptions - An array of AVMediaSelectionOptions to be filtered by media characteristic.mediaCharacteristics - The media characteristics that must be matched for a media selection option to be copied to the output array.public static NSArray<? extends AVMediaSelectionOption> mediaSelectionOptionsFromArrayWithoutMediaCharacteristics(NSArray<? extends AVMediaSelectionOption> mediaSelectionOptions, NSArray<java.lang.String> mediaCharacteristics)
Filters an array of AVMediaSelectionOptions according to whether they lack one or more media characteristics.
mediaSelectionOptions - An array of AVMediaSelectionOptions to be filtered by media characteristic.mediaCharacteristics - The media characteristics that must not be present for a media selection option to be copied to the output array.public static AVMediaSelectionGroup new_objc()
public static NSArray<? extends AVMediaSelectionOption> playableMediaSelectionOptionsFromArray(NSArray<? extends AVMediaSelectionOption> mediaSelectionOptions)
Filters an array of AVMediaSelectionOptions according to whether they are playable.
mediaSelectionOptions - An array of AVMediaSelectionOption to be filtered according to whether they are playable.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 static long version_static()
public boolean allowsEmptySelection()
Indicates whether it's possible to present none of the options in the group when an associated AVPlayerItem is played.
If allowsEmptySelection is YES, all of the available media options in the group can be deselected by passing nil as the specified AVMediaSelectionOption to -[AVPlayerItem selectMediaOption:inMediaSelectionGroup:].
public java.lang.Object copyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
copyWithZone in interface NSCopyingpublic AVMediaSelectionOption defaultOption()
Indicates the default option in the group, i.e. the option that's intended for use in the absence of a specific end-user selection or preference.
Can be nil, indicating that without a specific end-user selection or preference, no option in the group is intended to be selected.
public AVMediaSelectionGroup init()
public MPNowPlayingInfoLanguageOptionGroup makeNowPlayingInfoLanguageOptionGroup()
public AVMediaSelectionOption mediaSelectionOptionWithPropertyList(java.lang.Object plist)
Returns the instance of AVMediaSelectionOption with properties that match the specified property list.
plist - A property list previously obtained from an option in the group via -[AVMediaSelectionOption propertyList].public NSArray<? extends AVMediaSelectionOption> options()
A collection of mutually exclusive media selection options.
An NSArray of AVMediaSelectionOption*.