API Differences in AVFAudio in iOS 18.2

It can be difficult to find what changed in Apple SDKs. These pages are algorithmically generated and show what is new in AVFAudio in the iOS 18.2 SDK.

Table of Contents

Functions & Methods

AVAudioSession
- (BOOL)setPrefersEchoCancelledInput:(BOOL)value error:(NSError * _Nullable * _Nullable)error;
MicrophoneInjection
- (BOOL)setPreferredMicrophoneInjectionMode:(AVAudioSessionMicrophoneInjectionMode)inValue error:(NSError * _Nullable * _Nullable)outError;
AVAudioApplication
+ (void)requestMicrophoneInjectionPermissionWithCompletionHandler:(nonnull void (^)(AVAudioApplicationMicrophoneInjectionPermission))response;

Properties & Constants

AVAudioSession
@property(nonatomic, readonly) BOOL prefersEchoCancelledInput;
AVAudioSession
@property(nonatomic, readonly) BOOL isEchoCancelledInputEnabled;
AVAudioSession
@property(nonatomic, readonly) BOOL isEchoCancelledInputAvailable;
MicrophoneInjection
@property(atomic, readonly) AVAudioSessionMicrophoneInjectionMode preferredMicrophoneInjectionMode;
MicrophoneInjection
@property(atomic, readonly) BOOL isMicrophoneInjectionAvailable;
extern const NSNotificationName AVAudioSessionMicrophoneInjectionCapabilitiesChangeNotification
extern NSString *const AVAudioSessionMicrophoneInjectionIsAvailableKey
AVAudioApplication
@property(atomic, readonly) AVAudioApplicationMicrophoneInjectionPermission microphoneInjectionPermission;