Class AVAssetVariantQualifier

  • All Implemented Interfaces:
    NSCopying, NSObject

    public class AVAssetVariantQualifier
    extends NSObject
    implements NSCopying
    AVAssetVariantQualifier The qualifier of an asset variant. Subclasses of this type that are used from Swift must fulfill the requirements of a Sendable type. API-Since: 15.0
    • Constructor Detail

      • AVAssetVariantQualifier

        protected AVAssetVariantQualifier​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • assetVariantQualifierWithPredicate

        public static AVAssetVariantQualifier assetVariantQualifierWithPredicate​(@NotNull
                                                                                 @NotNull NSPredicate predicate)
        assetVariantQualifierWithPredicate: Returns a qualifer for a predicate.
        Parameters:
        predicate - The variant predicate.
      • assetVariantQualifierWithVariant

        public static AVAssetVariantQualifier assetVariantQualifierWithVariant​(@NotNull
                                                                               @NotNull AVAssetVariant variant)
        assetVariantQualifierWithVariant: Returns a qualifer for a particular asset variant.
        Parameters:
        variant - A variant obtained from the -[AVAsset variants] or -[AVAssetDownloadConfiguration playableVariants].
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(@NotNull
                                                                                 @NotNull java.lang.Object aTarget,
                                                                                 @NotNull
                                                                                 @NotNull org.moe.natj.objc.SEL aSelector,
                                                                                 @Nullable
                                                                                 @Nullable java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • copyWithZone

        @NotNull
        public @NotNull java.lang.Object copyWithZone​(@Nullable
                                                      @Nullable org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • 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()
      • 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

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • predicateForChannelCountMediaSelectionOptionOperatorType

        @NotNull
        public static @NotNull NSPredicate predicateForChannelCountMediaSelectionOptionOperatorType​(long channelCount,
                                                                                                    @NotNull
                                                                                                    @NotNull AVMediaSelectionOption mediaSelectionOption,
                                                                                                    long operatorType)
        predicateForChannelCount:mediaSelectionOption:operatorType: Creates a NSPredicate for audio channel count which can be used with other NSPredicates to express variant preferences.
        Parameters:
        channelCount - The RHS value for the channel count in the predicate equation.
        mediaSelectionOption - The audio media selection option under consideration.
        operatorType - The valid values are NSLessThanPredicateOperatorType, NSLessThanOrEqualToPredicateOperatorType, NSGreaterThanPredicateOperatorType, NSGreaterThanOrEqualToPredicateOperatorType, NSEqualToPredicateOperatorType and NSNotEqualToPredicateOperatorType.
      • predicateForPresentationHeightOperatorType

        @NotNull
        public static @NotNull NSPredicate predicateForPresentationHeightOperatorType​(double height,
                                                                                      long operatorType)
        predicateForPresentationHeight:operatorType: Creates a NSPredicate for presentation size height which can be used with other NSPredicates to express variant preferences.
        Parameters:
        height - The RHS value for the presentation size height in the predicate equation.
        operatorType - The valid values are NSLessThanPredicateOperatorType, NSLessThanOrEqualToPredicateOperatorType, NSGreaterThanPredicateOperatorType, NSGreaterThanOrEqualToPredicateOperatorType, NSEqualToPredicateOperatorType and NSNotEqualToPredicateOperatorType.
      • predicateForPresentationWidthOperatorType

        @NotNull
        public static @NotNull NSPredicate predicateForPresentationWidthOperatorType​(double width,
                                                                                     long operatorType)
        predicateForPresentationWidth:operatorType: Creates a NSPredicate for presentation size width which can be used with other NSPredicates to express variant preferences.
        Parameters:
        width - The RHS value for the presentation size width in the predicate equation.
        operatorType - The valid values are NSLessThanPredicateOperatorType, NSLessThanOrEqualToPredicateOperatorType, NSGreaterThanPredicateOperatorType, NSGreaterThanOrEqualToPredicateOperatorType, NSEqualToPredicateOperatorType and NSNotEqualToPredicateOperatorType.
      • 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()
      • predicateForBinauralAudioMediaSelectionOption

        @NotNull
        public static @NotNull NSPredicate predicateForBinauralAudioMediaSelectionOption​(boolean isBinauralAudio,
                                                                                         @NotNull
                                                                                         @NotNull AVMediaSelectionOption mediaSelectionOption)
        predicateForBinauralAudio:mediaSelectionOption: Creates a NSPredicate for binaural which can be used with other NSPredicates to express variant preferences.
        Parameters:
        isBinaural - The RHS value for the value of isBinauralAudio in the predicate equation.
        mediaSelectionOption - The audio media selection option under consideration. API-Since: 17.0
      • predicateForDownmixAudioMediaSelectionOption

        @NotNull
        public static @NotNull NSPredicate predicateForDownmixAudioMediaSelectionOption​(boolean isDownmixAudio,
                                                                                        @NotNull
                                                                                        @NotNull AVMediaSelectionOption mediaSelectionOption)
        predicateForDownmixAudio:mediaSelectionOption: Creates a NSPredicate for immersive audio which can be used with other NSPredicates to express variant preferences.
        Parameters:
        isDownmixAudio - The RHS value for the value of isDownmixAudio in the predicate equation.
        mediaSelectionOption - The audio media selection option under consideration. API-Since: 17.0
      • predicateForImmersiveAudioMediaSelectionOption

        @NotNull
        public static @NotNull NSPredicate predicateForImmersiveAudioMediaSelectionOption​(boolean isImmersiveAudio,
                                                                                          @NotNull
                                                                                          @NotNull AVMediaSelectionOption mediaSelectionOption)
        predicateForImmersiveAudio:mediaSelectionOption: Creates a NSPredicate for immersive audio which can be used with other NSPredicates to express variant preferences.
        Parameters:
        isImmersiveAudio - The RHS value for the value of isImmersiveAudio in the predicate equation.
        mediaSelectionOption - The audio media selection option under consideration. API-Since: 17.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.