Class AVAudioApplication

  • All Implemented Interfaces:
    NSObject

    public class AVAudioApplication
    extends NSObject
    Class containing methods that relate to an application bundle's audio (i.e. a collection of one or more AVAudioSession instances) API-Since: 17.0
    • Constructor Detail

      • AVAudioApplication

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static AVAudioApplication 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()
      • 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)
      • isInputMuted

        public boolean isInputMuted()
        Get the input muted state - return value is boolean 0 for unmuted or value 1 for muted (input samples zeroed out) API-Since: 17.0
      • 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)
      • recordPermission

        public long recordPermission()
        Returns an enum indicating whether the user has granted or denied permission to record, or has not been asked API-Since: 17.0
      • requestRecordPermissionWithCompletionHandler

        public static void requestRecordPermissionWithCompletionHandler​(@NotNull
                                                                        @NotNull AVAudioApplication.Block_requestRecordPermissionWithCompletionHandler response)
        Checks to see if calling process has permission to record audio. The 'response' block will be called immediately if permission has already been granted or denied. Otherwise, it presents a dialog to notify the user and allow them to choose, and calls the block once the UI has been dismissed. 'granted' indicates whether permission has been granted. Note that the block may be called in a different thread context. API-Since: 17.0
      • resolveClassMethod

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

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

        public boolean setInputMutedError​(boolean muted,
                                          @Nullable
                                          @Nullable org.moe.natj.general.ptr.Ptr<NSError> outError)
        Set the muted/unmuted state of the application's audio input. When set true, inputs (microphone etc.) of all audio clients relating to this application will have their samples zeroed out. [@note] - this is per-application input muting and doesn't affect the hardware mute state. API-Since: 17.0
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • sharedInstance

        @NotNull
        public static @NotNull AVAudioApplication sharedInstance()
        Returns the singleton instance
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.
      • version_static

        public static long version_static()