Class AVAUPresetEvent

  • All Implemented Interfaces:
    NSObject

    public class AVAUPresetEvent
    extends AVMusicEvent
    AVAUPresetEvent The event class representing a preset load and change on the AVMusicTrack's destinationAudioUnit. AVAUPresetEvents make it possible to schedule and/or automate preset changes on the audio unit that has been configured as the destination for the AVMusicTrack containing this event. API-Since: 16.0
    • Constructor Detail

      • AVAUPresetEvent

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static AVAUPresetEvent allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • 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()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • element

        public int element()
        [@property] element The element index within the scope (see AudioUnitElement). This should usually be set to 0.
      • hash_static

        public static long hash_static()
      • initWithScopeElementDictionary

        public AVAUPresetEvent initWithScopeElementDictionary​(int scope,
                                                              int element,
                                                              @NotNull
                                                              @NotNull NSDictionary<?,​?> presetDictionary)
        initWithScope:element:dictionary Initialize the event with the scope, element, and dictionary for the preset. The dictionary passed to this initializer will be copied and is not editable once the event is created.
        Parameters:
        scope - The audio unit scope for the parameter (see AudioUnitScope). This should always be set to Global.
        element - The element index within the scope (see AudioUnitElement). This should usually be set to 0.
        presetDictionary - An NSDictionary containing the preset. The audio unit will expect this to be a dictionary structured as an appropriate audio unit preset.
      • 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)
      • presetDictionary

        @NotNull
        public @NotNull NSDictionary<?,​?> presetDictionary()
        [@property] presetDictionary An NSDictionary containing the preset.
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • scope

        public int scope()
        [@property] scope The audio unit scope for the parameter (see AudioUnitScope). This should always be set to Global.
      • setElement

        public void setElement​(int value)
        [@property] element The element index within the scope (see AudioUnitElement). This should usually be set to 0.
      • setScope

        public void setScope​(int value)
        [@property] scope The audio unit scope for the parameter (see AudioUnitScope). This should always be set to Global.
      • 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()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.