Class AVFAudio


  • public final class AVFAudio
    extends java.lang.Object
    • Field Detail

      • AVAUDIOFORMAT_HAVE_CMFORMATDESCRIPTION

        public static final double AVAUDIOFORMAT_HAVE_CMFORMATDESCRIPTION
        See Also:
        Constant Field Values
      • AVAUDIONODE_HAVE_AUAUDIOUNIT

        public static final double AVAUDIONODE_HAVE_AUAUDIOUNIT
        See Also:
        Constant Field Values
      • AVAUDIOIONODE_HAVE_AUDIOUNIT

        public static final double AVAUDIOIONODE_HAVE_AUDIOUNIT
        See Also:
        Constant Field Values
      • AVAUDIOENGINE_HAVE_MUSICPLAYER

        public static final double AVAUDIOENGINE_HAVE_MUSICPLAYER
        See Also:
        Constant Field Values
      • AVAUDIOENGINE_HAVE_AUAUDIOUNIT

        public static final double AVAUDIOENGINE_HAVE_AUAUDIOUNIT
        See Also:
        Constant Field Values
      • AVAUDIOUNIT_HAVE_AUDIOUNIT

        public static final double AVAUDIOUNIT_HAVE_AUDIOUNIT
        See Also:
        Constant Field Values
      • AVAUDIOUNITCOMPONENT_HAVE_AUDIOCOMPONENT

        public static final double AVAUDIOUNITCOMPONENT_HAVE_AUDIOCOMPONENT
        See Also:
        Constant Field Values
    • Method Detail

      • AVAudioMake3DPoint

        public static AVAudio3DPoint AVAudioMake3DPoint​(float x,
                                                        float y,
                                                        float z)
        Creates and returns an AVAudio3DPoint object
      • AVAudioMake3DVector

        public static AVAudio3DPoint AVAudioMake3DVector​(float x,
                                                         float y,
                                                         float z)
        Creates and returns an AVAudio3DVector object
      • AVAudioMake3DAngularOrientation

        public static AVAudio3DAngularOrientation AVAudioMake3DAngularOrientation​(float yaw,
                                                                                  float pitch,
                                                                                  float roll)
        Creates and returns an AVAudio3DAngularOrientation object
      • AVMakeBeatRange

        public static AVBeatRange AVMakeBeatRange​(double startBeat,
                                                  double lengthInBeats)
      • AVAudioEngineConfigurationChangeNotification

        @NotNull
        public static @NotNull java.lang.String AVAudioEngineConfigurationChangeNotification()
        [@constant] AVAudioEngineConfigurationChangeNotification A notification generated on engine configuration changes when rendering to/from an audio device. Register for this notification on your engine instances, as follows: ``` [[NSNotificationCenter defaultCenter] addObserver: myObject selector: @selector(handleInterruption:) name: AVAudioEngineConfigurationChangeNotification object: engine]; ``` When the engine's I/O unit observes a change to the audio input or output hardware's channel count or sample rate, the engine stops itself (see `AVAudioEngine(stop)`), and issues this notification. The nodes remain attached and connected with previously set formats. However, the app must reestablish connections if the connection formats need to change (e.g. in an input node chain, connections must follow the hardware sample rate, while in an output only chain, the output node supports rate conversion). Note that the engine must not be deallocated from within the client's notification handler because the callback happens on an internal dispatch queue and can deadlock while trying to synchronously teardown the engine. API-Since: 8.0
      • AVFormatIDKey

        public static java.lang.String AVFormatIDKey()
        value is an integer (format ID) from CoreAudioTypes.h API-Since: 3.0
      • AVSampleRateKey

        public static java.lang.String AVSampleRateKey()
        value is floating point in Hertz API-Since: 3.0
      • AVNumberOfChannelsKey

        public static java.lang.String AVNumberOfChannelsKey()
        value is an integer API-Since: 3.0
      • AVLinearPCMBitDepthKey

        public static java.lang.String AVLinearPCMBitDepthKey()
        value is an integer, one of: 8, 16, 24, 32 API-Since: 3.0
      • AVLinearPCMIsBigEndianKey

        public static java.lang.String AVLinearPCMIsBigEndianKey()
        value is a BOOL API-Since: 3.0
      • AVLinearPCMIsFloatKey

        public static java.lang.String AVLinearPCMIsFloatKey()
        value is a BOOL API-Since: 3.0
      • AVLinearPCMIsNonInterleaved

        public static java.lang.String AVLinearPCMIsNonInterleaved()
        value is a BOOL API-Since: 4.0
      • AVAudioFileTypeKey

        public static java.lang.String AVAudioFileTypeKey()
        value is an integer (audio file type) from AudioFile.h API-Since: 11.0
      • AVEncoderAudioQualityKey

        public static java.lang.String AVEncoderAudioQualityKey()
        value is an integer from enum AVAudioQuality API-Since: 3.0
      • AVEncoderAudioQualityForVBRKey

        public static java.lang.String AVEncoderAudioQualityForVBRKey()
        value is an integer from enum AVAudioQuality. only relevant for AVAudioBitRateStrategy_Variable API-Since: 7.0
      • AVEncoderBitRateKey

        public static java.lang.String AVEncoderBitRateKey()
        value is an integer. API-Since: 3.0
      • AVEncoderBitRatePerChannelKey

        public static java.lang.String AVEncoderBitRatePerChannelKey()
        value is an integer API-Since: 4.0
      • AVEncoderBitRateStrategyKey

        public static java.lang.String AVEncoderBitRateStrategyKey()
        value is an AVAudioBitRateStrategy constant. see below. API-Since: 7.0
      • AVEncoderBitDepthHintKey

        public static java.lang.String AVEncoderBitDepthHintKey()
        value is an integer from 8 to 32 API-Since: 3.0
      • AVSampleRateConverterAlgorithmKey

        public static java.lang.String AVSampleRateConverterAlgorithmKey()
        value is an AVSampleRateConverterAlgorithm constant. see below. API-Since: 7.0
      • AVSampleRateConverterAudioQualityKey

        public static java.lang.String AVSampleRateConverterAudioQualityKey()
        value is an integer from enum AVAudioQuality API-Since: 7.0
      • AVChannelLayoutKey

        public static java.lang.String AVChannelLayoutKey()
        value is an NSData containing an AudioChannelLayout API-Since: 4.0
      • AVAudioBitRateStrategy_Constant

        public static java.lang.String AVAudioBitRateStrategy_Constant()
        values for AVEncoderBitRateStrategyKey API-Since: 7.0
      • AVAudioBitRateStrategy_LongTermAverage

        public static java.lang.String AVAudioBitRateStrategy_LongTermAverage()
        API-Since: 7.0
      • AVAudioBitRateStrategy_VariableConstrained

        public static java.lang.String AVAudioBitRateStrategy_VariableConstrained()
        API-Since: 7.0
      • AVAudioBitRateStrategy_Variable

        public static java.lang.String AVAudioBitRateStrategy_Variable()
        API-Since: 7.0
      • AVSampleRateConverterAlgorithm_Normal

        public static java.lang.String AVSampleRateConverterAlgorithm_Normal()
        values for AVSampleRateConverterAlgorithmKey API-Since: 7.0
      • AVSampleRateConverterAlgorithm_Mastering

        public static java.lang.String AVSampleRateConverterAlgorithm_Mastering()
        API-Since: 7.0
      • AVSampleRateConverterAlgorithm_MinimumPhase

        public static java.lang.String AVSampleRateConverterAlgorithm_MinimumPhase()
        API-Since: 10.0
      • AVAudioSessionPortLineIn

        public static java.lang.String AVAudioSessionPortLineIn()
        Line level input on a dock connector API-Since: 6.0
      • AVAudioSessionPortBuiltInMic

        public static java.lang.String AVAudioSessionPortBuiltInMic()
        Built-in microphone on an iOS device API-Since: 6.0
      • AVAudioSessionPortHeadsetMic

        public static java.lang.String AVAudioSessionPortHeadsetMic()
        Microphone on a wired headset. Headset refers to an accessory that has headphone outputs paired with a microphone. API-Since: 6.0
      • AVAudioSessionPortLineOut

        public static java.lang.String AVAudioSessionPortLineOut()
        Line level output on a dock connector API-Since: 6.0
      • AVAudioSessionPortHeadphones

        public static java.lang.String AVAudioSessionPortHeadphones()
        Headphone or headset output API-Since: 6.0
      • AVAudioSessionPortBluetoothA2DP

        public static java.lang.String AVAudioSessionPortBluetoothA2DP()
        Output on a Bluetooth A2DP device API-Since: 6.0
      • AVAudioSessionPortBuiltInReceiver

        public static java.lang.String AVAudioSessionPortBuiltInReceiver()
        The speaker you hold to your ear when on a phone call API-Since: 6.0
      • AVAudioSessionPortBuiltInSpeaker

        public static java.lang.String AVAudioSessionPortBuiltInSpeaker()
        Built-in speaker on an iOS device API-Since: 6.0
      • AVAudioSessionPortHDMI

        public static java.lang.String AVAudioSessionPortHDMI()
        Output via High-Definition Multimedia Interface API-Since: 6.0
      • AVAudioSessionPortAirPlay

        public static java.lang.String AVAudioSessionPortAirPlay()
        Output on a remote Air Play device API-Since: 6.0
      • AVAudioSessionPortBluetoothLE

        public static java.lang.String AVAudioSessionPortBluetoothLE()
        Output on a Bluetooth Low Energy device API-Since: 7.0
      • AVAudioSessionPortBluetoothHFP

        public static java.lang.String AVAudioSessionPortBluetoothHFP()
        Input or output on a Bluetooth Hands-Free Profile device API-Since: 6.0
      • AVAudioSessionPortUSBAudio

        public static java.lang.String AVAudioSessionPortUSBAudio()
        Input or output on a Universal Serial Bus device API-Since: 6.0
      • AVAudioSessionPortCarAudio

        public static java.lang.String AVAudioSessionPortCarAudio()
        Input or output via Car Audio API-Since: 7.0
      • AVAudioSessionPortVirtual

        public static java.lang.String AVAudioSessionPortVirtual()
        Input or output that does not correspond to real audio hardware API-Since: 14.0
      • AVAudioSessionPortPCI

        public static java.lang.String AVAudioSessionPortPCI()
        Input or output connected via the PCI (Peripheral Component Interconnect) bus API-Since: 14.0
      • AVAudioSessionPortFireWire

        public static java.lang.String AVAudioSessionPortFireWire()
        Input or output connected via FireWire API-Since: 14.0
      • AVAudioSessionPortDisplayPort

        public static java.lang.String AVAudioSessionPortDisplayPort()
        Input or output connected via DisplayPort API-Since: 14.0
      • AVAudioSessionPortAVB

        public static java.lang.String AVAudioSessionPortAVB()
        Input or output connected via AVB (Audio Video Bridging) API-Since: 14.0
      • AVAudioSessionPortThunderbolt

        public static java.lang.String AVAudioSessionPortThunderbolt()
        Input or output connected via Thunderbolt API-Since: 14.0
      • AVAudioSessionCategoryAmbient

        public static java.lang.String AVAudioSessionCategoryAmbient()
        Use this category for background sounds such as rain, car engine noise, etc. Mixes with other music. API-Since: 3.0
      • AVAudioSessionCategorySoloAmbient

        public static java.lang.String AVAudioSessionCategorySoloAmbient()
        Use this category for background sounds. Other music will stop playing. API-Since: 3.0
      • AVAudioSessionCategoryPlayback

        public static java.lang.String AVAudioSessionCategoryPlayback()
        Use this category for music tracks. API-Since: 3.0
      • AVAudioSessionCategoryRecord

        public static java.lang.String AVAudioSessionCategoryRecord()
        Use this category when recording audio. API-Since: 3.0
      • AVAudioSessionCategoryPlayAndRecord

        public static java.lang.String AVAudioSessionCategoryPlayAndRecord()
        Use this category when recording and playing back audio. API-Since: 3.0
      • AVAudioSessionCategoryAudioProcessing

        @Deprecated
        public static java.lang.String AVAudioSessionCategoryAudioProcessing()
        Deprecated.
        Use this category when using a hardware codec or signal processor while not playing or recording audio. API-Since: 3.0 Deprecated-Since: 10.0 Deprecated-Message: No longer supported
      • AVAudioSessionCategoryMultiRoute

        public static java.lang.String AVAudioSessionCategoryMultiRoute()
        Use this category to customize the usage of available audio accessories and built-in audio hardware. For example, this category provides an application with the ability to use an available USB output and headphone output simultaneously for separate, distinct streams of audio data. Use of this category by an application requires a more detailed knowledge of, and interaction with, the capabilities of the available audio routes. May be used for input, output, or both. Note that not all output types and output combinations are eligible for multi-route. Input is limited to the last-in input port. Eligible inputs consist of the following: AVAudioSessionPortUSBAudio, AVAudioSessionPortHeadsetMic, and AVAudioSessionPortBuiltInMic. Eligible outputs consist of the following: AVAudioSessionPortUSBAudio, AVAudioSessionPortLineOut, AVAudioSessionPortHeadphones, AVAudioSessionPortHDMI, and AVAudioSessionPortBuiltInSpeaker. Note that AVAudioSessionPortBuiltInSpeaker is only allowed to be used when there are no other eligible outputs connected. API-Since: 6.0
      • AVAudioSessionModeDefault

        public static java.lang.String AVAudioSessionModeDefault()
        The default mode API-Since: 5.0
      • AVAudioSessionModeVoiceChat

        public static java.lang.String AVAudioSessionModeVoiceChat()
        Only valid with AVAudioSessionCategoryPlayAndRecord. Appropriate for Voice over IP (VoIP) applications. Reduces the number of allowable audio routes to be only those that are appropriate for VoIP applications and may engage appropriate system-supplied signal processing. Has the side effect of setting AVAudioSessionCategoryOptionAllowBluetooth API-Since: 5.0
      • AVAudioSessionModeGameChat

        public static java.lang.String AVAudioSessionModeGameChat()
        Set by Game Kit on behalf of an application that uses a GKVoiceChat object; valid only with the AVAudioSessionCategoryPlayAndRecord category. Do not set this mode directly. If you need similar behavior and are not using a GKVoiceChat object, use AVAudioSessionModeVoiceChat instead. API-Since: 5.0
      • AVAudioSessionModeVideoRecording

        public static java.lang.String AVAudioSessionModeVideoRecording()
        Only valid with AVAudioSessionCategoryPlayAndRecord or AVAudioSessionCategoryRecord. Modifies the audio routing options and may engage appropriate system-supplied signal processing. API-Since: 5.0
      • AVAudioSessionModeMeasurement

        public static java.lang.String AVAudioSessionModeMeasurement()
        Appropriate for applications that wish to minimize the effect of system-supplied signal processing for input and/or output audio signals. This mode disables some dynamics processing on input and output resulting in a lower output playback level. API-Since: 5.0
      • AVAudioSessionModeMoviePlayback

        public static java.lang.String AVAudioSessionModeMoviePlayback()
        Engages appropriate output signal processing for movie playback scenarios. Currently only applied during playback over built-in speaker. API-Since: 6.0
      • AVAudioSessionModeVideoChat

        public static java.lang.String AVAudioSessionModeVideoChat()
        Only valid with kAudioSessionCategory_PlayAndRecord. Reduces the number of allowable audio routes to be only those that are appropriate for video chat applications. May engage appropriate system-supplied signal processing. Has the side effect of setting AVAudioSessionCategoryOptionAllowBluetooth and AVAudioSessionCategoryOptionDefaultToSpeaker. API-Since: 7.0
      • AVAudioSessionModeSpokenAudio

        public static java.lang.String AVAudioSessionModeSpokenAudio()
        Appropriate for applications which play spoken audio and wish to be paused (via audio session interruption) rather than ducked if another app (such as a navigation app) plays a spoken audio prompt. Examples of apps that would use this are podcast players and audio books. For more information, see the related category option AVAudioSessionCategoryOptionInterruptSpokenAudioAndMixWithOthers. API-Since: 9.0
      • AVAudioSessionModeVoicePrompt

        public static java.lang.String AVAudioSessionModeVoicePrompt()
        Appropriate for applications which play audio using text to speech. Setting this mode allows for different routing behaviors when connected to certain audio devices such as CarPlay. An example of an app that would use this mode is a turn by turn navigation app that plays short prompts to the user. Typically, these same types of applications would also configure their session to use AVAudioSessionCategoryOptionDuckOthers and AVAudioSessionCategoryOptionInterruptSpokenAudioAndMixWithOthers API-Since: 12.0
      • AVAudioSessionLocationUpper

        @NotNull
        public static @NotNull java.lang.String AVAudioSessionLocationUpper()
        API-Since: 7.0
      • AVAudioSessionLocationLower

        @NotNull
        public static @NotNull java.lang.String AVAudioSessionLocationLower()
        API-Since: 7.0
      • AVAudioSessionOrientationTop

        @NotNull
        public static @NotNull java.lang.String AVAudioSessionOrientationTop()
        API-Since: 7.0
      • AVAudioSessionOrientationBottom

        @NotNull
        public static @NotNull java.lang.String AVAudioSessionOrientationBottom()
        API-Since: 7.0
      • AVAudioSessionOrientationFront

        @NotNull
        public static @NotNull java.lang.String AVAudioSessionOrientationFront()
        API-Since: 7.0
      • AVAudioSessionOrientationBack

        @NotNull
        public static @NotNull java.lang.String AVAudioSessionOrientationBack()
        API-Since: 7.0
      • AVAudioSessionOrientationLeft

        @NotNull
        public static @NotNull java.lang.String AVAudioSessionOrientationLeft()
        API-Since: 8.0
      • AVAudioSessionOrientationRight

        @NotNull
        public static @NotNull java.lang.String AVAudioSessionOrientationRight()
        API-Since: 8.0
      • AVAudioSessionPolarPatternOmnidirectional

        @NotNull
        public static @NotNull java.lang.String AVAudioSessionPolarPatternOmnidirectional()
        API-Since: 7.0
      • AVAudioSessionPolarPatternCardioid

        @NotNull
        public static @NotNull java.lang.String AVAudioSessionPolarPatternCardioid()
        API-Since: 7.0
      • AVAudioSessionPolarPatternSubcardioid

        @NotNull
        public static @NotNull java.lang.String AVAudioSessionPolarPatternSubcardioid()
        API-Since: 7.0
      • AVAudioSessionPolarPatternStereo

        @NotNull
        public static @NotNull java.lang.String AVAudioSessionPolarPatternStereo()
        If you select a data source with AVAudioSessionPolarPatternStereo, then you must call setPreferredInputOrientation:error: on your Audio Session so that left and right are presented from the correct directions. API-Since: 14.0
      • AVAudioSessionInterruptionNotification

        @NotNull
        public static @NotNull java.lang.String AVAudioSessionInterruptionNotification()
        Notification sent to registered listeners when the system has interrupted the audio session and when the interruption has ended. Check the notification's userInfo dictionary for the interruption type, which is either Begin or End. In the case of an end interruption notification, check the userInfo dictionary for AVAudioSessionInterruptionOptions that indicate whether audio playback should resume. In the case of a begin interruption notification, the reason for the interruption can be found within the info dictionary under the key AVAudioSessionInterruptionReasonKey. API-Since: 6.0
      • AVAudioSessionRouteChangeNotification

        @NotNull
        public static @NotNull java.lang.String AVAudioSessionRouteChangeNotification()
        Notification sent to registered listeners when an audio route change has occurred. Check the notification's userInfo dictionary for the route change reason and for a description of the previous audio route. API-Since: 6.0
      • AVAudioSessionMediaServicesWereLostNotification

        @NotNull
        public static @NotNull java.lang.String AVAudioSessionMediaServicesWereLostNotification()
        Notification sent to registered listeners if the media server is killed. In the event that the server is killed, take appropriate steps to handle requests that come in before the server resets. See Technical Q&A QA1749. API-Since: 7.0
      • AVAudioSessionMediaServicesWereResetNotification

        @NotNull
        public static @NotNull java.lang.String AVAudioSessionMediaServicesWereResetNotification()
        Notification sent to registered listeners when the media server restarts. In the event that the server restarts, take appropriate steps to re-initialize any audio objects used by your application. See Technical Q&A QA1749. API-Since: 6.0
      • AVAudioSessionSilenceSecondaryAudioHintNotification

        @NotNull
        public static @NotNull java.lang.String AVAudioSessionSilenceSecondaryAudioHintNotification()
        Notification sent to registered listeners when they are in the foreground with an active audio session and primary audio from other applications starts and stops. Check the notification's userInfo dictionary for the notification type, which is either Begin or End. Foreground applications may use this notification as a hint to enable or disable audio that is secondary to the functionality of the application. For more information, see the related property secondaryAudioShouldBeSilencedHint. API-Since: 8.0
      • AVAudioSessionSpatialPlaybackCapabilitiesChangedNotification

        @NotNull
        public static @NotNull java.lang.String AVAudioSessionSpatialPlaybackCapabilitiesChangedNotification()
        Notification sent to registered listeners when spatial playback capabilities are changed due to a change in user preference. Check the notification's userInfo dictionary for AVAudioSessionSpatialAudioEnabledKey to check if spatial audio is enabled. Observers of this notification should also observe AVAudioSessionRouteChangeNotification since a route change may also result in a change in the ability for the system to play spatial audio. Use AVAudioSessionPortDescription's isSpatialAudioEnabled property to check if the current route supports spatialized playback. API-Since: 15.0
      • AVAudioSessionSpatialAudioEnabledKey

        @NotNull
        public static @NotNull java.lang.String AVAudioSessionSpatialAudioEnabledKey()
        keys for AVAudioSessionSpatialPlaybackCapabilitiesChangedNotification value is an NSNumber whose boolean value indicates if spatial audio enabled. API-Since: 15.0
      • AVAudioSessionInterruptionTypeKey

        @NotNull
        public static @NotNull java.lang.String AVAudioSessionInterruptionTypeKey()
        keys for AVAudioSessionInterruptionNotification Value is an NSNumber representing an AVAudioSessionInterruptionType API-Since: 6.0
      • AVAudioSessionInterruptionOptionKey

        @NotNull
        public static @NotNull java.lang.String AVAudioSessionInterruptionOptionKey()
        Only present for end interruption events. Value is of type AVAudioSessionInterruptionOptions. API-Since: 6.0
      • AVAudioSessionInterruptionReasonKey

        @NotNull
        public static @NotNull java.lang.String AVAudioSessionInterruptionReasonKey()
        Only present in begin interruption events. Value is of type AVAudioSessionInterruptionReason. API-Since: 14.5
      • AVAudioSessionInterruptionWasSuspendedKey

        @NotNull
        @Deprecated
        public static @NotNull java.lang.String AVAudioSessionInterruptionWasSuspendedKey()
        Deprecated.
        Only present in begin interruption events, where the interruption is a direct result of the application being suspended by the operating sytem. Value is a boolean NSNumber, where a true value indicates that the interruption is the result of the application being suspended, rather than being interrupted by another audio session. Starting in iOS 10, the system will deactivate the audio session of most apps in response to the app process being suspended. When the app starts running again, it will receive the notification that its session has been deactivated by the system. Note that the notification is necessarily delayed in time, due to the fact that the application was suspended at the time the session was deactivated by the system and the notification can only be delivered once the app is running again. API-Since: 10.3 Deprecated-Since: 14.5 Deprecated-Message: No longer supported - see AVAudioSessionInterruptionReasonKey
      • AVAudioSessionRouteChangeReasonKey

        @NotNull
        public static @NotNull java.lang.String AVAudioSessionRouteChangeReasonKey()
        keys for AVAudioSessionRouteChangeNotification value is an NSNumber representing an AVAudioSessionRouteChangeReason API-Since: 6.0
      • AVAudioSessionRouteChangePreviousRouteKey

        @NotNull
        public static @NotNull java.lang.String AVAudioSessionRouteChangePreviousRouteKey()
        value is AVAudioSessionRouteDescription * API-Since: 6.0
      • AVAudioSessionSilenceSecondaryAudioHintTypeKey

        @NotNull
        public static @NotNull java.lang.String AVAudioSessionSilenceSecondaryAudioHintTypeKey()
        keys for AVAudioSessionSilenceSecondaryAudioHintNotification value is an NSNumber representing an AVAudioSessionSilenceSecondaryAudioHintType API-Since: 8.0
      • AVAudioUnitTypeOutput

        @NotNull
        public static @NotNull java.lang.String AVAudioUnitTypeOutput()
        Standard Audio Unit Types API-Since: 9.0
      • AVAudioUnitTypeMusicDevice

        @NotNull
        public static @NotNull java.lang.String AVAudioUnitTypeMusicDevice()
        API-Since: 9.0
      • AVAudioUnitTypeMusicEffect

        @NotNull
        public static @NotNull java.lang.String AVAudioUnitTypeMusicEffect()
        API-Since: 9.0
      • AVAudioUnitTypeFormatConverter

        @NotNull
        public static @NotNull java.lang.String AVAudioUnitTypeFormatConverter()
        API-Since: 9.0
      • AVAudioUnitTypeEffect

        @NotNull
        public static @NotNull java.lang.String AVAudioUnitTypeEffect()
        API-Since: 9.0
      • AVAudioUnitTypeMixer

        @NotNull
        public static @NotNull java.lang.String AVAudioUnitTypeMixer()
        API-Since: 9.0
      • AVAudioUnitTypePanner

        @NotNull
        public static @NotNull java.lang.String AVAudioUnitTypePanner()
        API-Since: 9.0
      • AVAudioUnitTypeGenerator

        @NotNull
        public static @NotNull java.lang.String AVAudioUnitTypeGenerator()
        API-Since: 9.0
      • AVAudioUnitTypeOfflineEffect

        @NotNull
        public static @NotNull java.lang.String AVAudioUnitTypeOfflineEffect()
        API-Since: 9.0
      • AVAudioUnitTypeMIDIProcessor

        @NotNull
        public static @NotNull java.lang.String AVAudioUnitTypeMIDIProcessor()
        API-Since: 9.0
      • AVAudioUnitManufacturerNameApple

        @NotNull
        public static @NotNull java.lang.String AVAudioUnitManufacturerNameApple()
        Standard Audio Unit Manufacturers API-Since: 9.0
      • AVAudioUnitComponentTagsDidChangeNotification

        @NotNull
        public static @NotNull java.lang.String AVAudioUnitComponentTagsDidChangeNotification()
        The notification object is an AVAudioUnitComponent object API-Since: 9.0
      • AVAudioUnitComponentManagerRegistrationsChangedNotification

        @NotNull
        public static @NotNull java.lang.String AVAudioUnitComponentManagerRegistrationsChangedNotification()
        [@constant] AVAudioUnitComponentManagerRegistrationsChangedNotification A notification generated when AVAudioUnitComponentManager updates its list of components. Register for this notification on the shared AVAudioUnitComponentManager instance, as follows: ``` [[NSNotificationCenter defaultCenter] addObserver: myObject selector: @selector(registrationsChanged:) name: AVAudioUnitComponentManagerRegistrationsChangedNotification object: [AVAudioUnitComponentManager sharedAudioUnitComponentManager]]; ``` API-Since: 13.0
      • AVSpeechUtteranceMinimumSpeechRate

        public static float AVSpeechUtteranceMinimumSpeechRate()
        API-Since: 7.0
      • AVSpeechUtteranceMaximumSpeechRate

        public static float AVSpeechUtteranceMaximumSpeechRate()
        API-Since: 7.0
      • AVSpeechUtteranceDefaultSpeechRate

        public static float AVSpeechUtteranceDefaultSpeechRate()
        API-Since: 7.0
      • AVSpeechSynthesisVoiceIdentifierAlex

        @NotNull
        public static @NotNull java.lang.String AVSpeechSynthesisVoiceIdentifierAlex()
        Use the Alex identifier with voiceWithIdentifier:. If the voice is present on the system, an AVSpeechSynthesisVoice will be returned. Alex is en-US only. API-Since: 9.0
      • AVSpeechSynthesisIPANotationAttribute

        @NotNull
        public static @NotNull java.lang.String AVSpeechSynthesisIPANotationAttribute()
        NSString, containing International Phonetic Alphabet (IPA) symbols. Controls pronunciation of a certain word or phrase, e.g. a proper name. API-Since: 10.0
      • AVAudioSequencerInfoDictionaryKeyAlbum

        @NotNull
        public static @NotNull java.lang.String AVAudioSequencerInfoDictionaryKeyAlbum()
        API-Since: 16.0
      • AVAudioSequencerInfoDictionaryKeyApproximateDurationInSeconds

        @NotNull
        public static @NotNull java.lang.String AVAudioSequencerInfoDictionaryKeyApproximateDurationInSeconds()
        API-Since: 16.0
      • AVAudioSequencerInfoDictionaryKeyArtist

        @NotNull
        public static @NotNull java.lang.String AVAudioSequencerInfoDictionaryKeyArtist()
        API-Since: 16.0
      • AVAudioSequencerInfoDictionaryKeyChannelLayout

        @NotNull
        public static @NotNull java.lang.String AVAudioSequencerInfoDictionaryKeyChannelLayout()
        API-Since: 16.0
      • AVAudioSequencerInfoDictionaryKeyComments

        @NotNull
        public static @NotNull java.lang.String AVAudioSequencerInfoDictionaryKeyComments()
        API-Since: 16.0
      • AVAudioSequencerInfoDictionaryKeyComposer

        @NotNull
        public static @NotNull java.lang.String AVAudioSequencerInfoDictionaryKeyComposer()
        API-Since: 16.0
      • AVAudioSequencerInfoDictionaryKeyCopyright

        @NotNull
        public static @NotNull java.lang.String AVAudioSequencerInfoDictionaryKeyCopyright()
        API-Since: 16.0
      • AVAudioSequencerInfoDictionaryKeyEncodingApplication

        @NotNull
        public static @NotNull java.lang.String AVAudioSequencerInfoDictionaryKeyEncodingApplication()
        API-Since: 16.0
      • AVAudioSequencerInfoDictionaryKeyGenre

        @NotNull
        public static @NotNull java.lang.String AVAudioSequencerInfoDictionaryKeyGenre()
        API-Since: 16.0
      • AVAudioSequencerInfoDictionaryKeyISRC

        @NotNull
        public static @NotNull java.lang.String AVAudioSequencerInfoDictionaryKeyISRC()
        API-Since: 16.0
      • AVAudioSequencerInfoDictionaryKeyKeySignature

        @NotNull
        public static @NotNull java.lang.String AVAudioSequencerInfoDictionaryKeyKeySignature()
        API-Since: 16.0
      • AVAudioSequencerInfoDictionaryKeyLyricist

        @NotNull
        public static @NotNull java.lang.String AVAudioSequencerInfoDictionaryKeyLyricist()
        API-Since: 16.0
      • AVAudioSequencerInfoDictionaryKeyNominalBitRate

        @NotNull
        public static @NotNull java.lang.String AVAudioSequencerInfoDictionaryKeyNominalBitRate()
        API-Since: 16.0
      • AVAudioSequencerInfoDictionaryKeyRecordedDate

        @NotNull
        public static @NotNull java.lang.String AVAudioSequencerInfoDictionaryKeyRecordedDate()
        API-Since: 16.0
      • AVAudioSequencerInfoDictionaryKeySourceBitDepth

        @NotNull
        public static @NotNull java.lang.String AVAudioSequencerInfoDictionaryKeySourceBitDepth()
        API-Since: 16.0
      • AVAudioSequencerInfoDictionaryKeySourceEncoder

        @NotNull
        public static @NotNull java.lang.String AVAudioSequencerInfoDictionaryKeySourceEncoder()
        API-Since: 16.0
      • AVAudioSequencerInfoDictionaryKeySubTitle

        @NotNull
        public static @NotNull java.lang.String AVAudioSequencerInfoDictionaryKeySubTitle()
        API-Since: 16.0
      • AVAudioSequencerInfoDictionaryKeyTempo

        @NotNull
        public static @NotNull java.lang.String AVAudioSequencerInfoDictionaryKeyTempo()
        API-Since: 16.0
      • AVAudioSequencerInfoDictionaryKeyTimeSignature

        @NotNull
        public static @NotNull java.lang.String AVAudioSequencerInfoDictionaryKeyTimeSignature()
        API-Since: 16.0
      • AVAudioSequencerInfoDictionaryKeyTitle

        @NotNull
        public static @NotNull java.lang.String AVAudioSequencerInfoDictionaryKeyTitle()
        API-Since: 16.0
      • AVAudioSequencerInfoDictionaryKeyTrackNumber

        @NotNull
        public static @NotNull java.lang.String AVAudioSequencerInfoDictionaryKeyTrackNumber()
        API-Since: 16.0
      • AVAudioSequencerInfoDictionaryKeyYear

        @NotNull
        public static @NotNull java.lang.String AVAudioSequencerInfoDictionaryKeyYear()
        API-Since: 16.0
      • AVExtendedNoteOnEventDefaultInstrument

        public static int AVExtendedNoteOnEventDefaultInstrument()
        [@constant] AVExtendedNoteOnEventDefaultInstrument A constant representing the default instrument ID to use for an AVExtendedNoteOnEvent. This indicates to the system to use the instrument currently loaded on the channel referenced by the groupID. This is the only supported value at this time. API-Since: 16.0
      • AVAudioSessionPortContinuityMicrophone

        public static java.lang.String AVAudioSessionPortContinuityMicrophone()
        input port types Continuity microphone for appletv. API-Since: 17.0
      • AVAudioSessionRenderingModeChangeNotification

        @NotNull
        public static @NotNull java.lang.String AVAudioSessionRenderingModeChangeNotification()
        Notification sent to registered listeners when the resolved rendering mode changes. API-Since: 17.2
      • AVAudioSessionRenderingCapabilitiesChangeNotification

        @NotNull
        public static @NotNull java.lang.String AVAudioSessionRenderingCapabilitiesChangeNotification()
        Notification sent to registered listeners when the rendering capabilities change. API-Since: 17.2
      • AVAudioSessionRenderingModeNewRenderingModeKey

        @NotNull
        public static @NotNull java.lang.String AVAudioSessionRenderingModeNewRenderingModeKey()
        keys for AVAudioSessionRenderingModeChangeNotification Contains a payload of NSInteger representing the new resolved rendering mode API-Since: 17.2
      • AVSpeechSynthesisAvailableVoicesDidChangeNotification

        @NotNull
        public static @NotNull java.lang.String AVSpeechSynthesisAvailableVoicesDidChangeNotification()
        Posted when available voices for speech synthesis on the system have changed. For example, if new 3rd party voices are available through a downloaded app, or if a new personal voice is available and the app is authorized to access personal voices. API-Since: 17.0
      • AVAudioApplicationInputMuteStateChangeNotification

        @NotNull
        public static @NotNull java.lang.String AVAudioApplicationInputMuteStateChangeNotification()
        Notification sent to registered listeners when the application's input is muted or unmuted. Check the notification's userInfo dictionary for the mute state AVAudioApplicationInputMuteStateKey which will have a boolean value 0 for unmuted or value 1 for muted. [@note] this notification will only be dispatched for state changes when there is an active record session (i.e. record or playAndRecord category). Setting the `inputMuted` state while the record session is not active is allowed and will be stored, but it will not trigger a notification for the state change. When the record session subsequently goes active, the `inputMuted` state will be applied, and this notification will be dispatched with the latest input muted state. API-Since: 17.0
      • AVAudioApplicationMuteStateKey

        @NotNull
        public static @NotNull java.lang.String AVAudioApplicationMuteStateKey()
        Keys for AVAudioApplicationInputMuteStateChangeNotification Value is NSNumber type with boolean value 0 for unmuted or value 1 for muted (samples zeroed out) API-Since: 17.0