One Logo Pool Ball
AVFAudio · IOS API REFERENCE

AVAudioIONode

class · iOS 8.0+ · SDK 27.1

class AVAudioIONode

Members (6)

init

init

TypeScript
static init(): AVAudioIONode
Swift declaration
init()
method · iOS 13.0+

setVoiceProcessingEnabled

TypeScript
setVoiceProcessingEnabled(enabled: boolean): void
Swift declaration
func setVoiceProcessingEnabled(_ enabled: Bool) throws
get · iOS 8.0+

presentationLatency

TypeScript
get presentationLatency(): number
Swift declaration
var presentationLatency: TimeInterval { get }
get · iOS 13.0+

isVoiceProcessingEnabled

TypeScript
get isVoiceProcessingEnabled(): boolean
Swift declaration
var isVoiceProcessingEnabled: Bool { get }
method · iOS 27.0+

withAudioUnit

TypeScript
withAudioUnit(body: ((arg0: (SDKHandle) | null) => unknown)): unknown
Swift declaration
func withAudioUnit<R, E>(_ body: (borrowing AudioUnit?) throws(E) -> R) throws(E) -> R where E : Error

Provides scoped access to the I/O node's AudioUnit This method provides thread-safe, scoped access to the underlying AudioUnit. The audio unit reference is only valid within the closure and must not be retained or accessed outside of it. - Parameter body: A closure that receives the AudioUnit instance - Returns: The value returned by the closure - Throws: Rethrows any error thrown by the closure

get · iOS 8.0+ · Deprecated in iOS 27.0

audioUnit

TypeScript
get audioUnit(): (SDKHandle) | null
Swift declaration
@export(implementation) var audioUnit: AudioUnit? { get }

Skipped declarations

No declarations were skipped in this snapshot.

All AVFAudio types →