Instance Property


The set of directivity configurations supported by the data source.


var supportedPolarPatterns: [AVAudioSession.PolarPattern]? { get }


One or more of the constants in Data Source Polar Patterns, or nil if the data source does not support directivity configuration. This feature is available only on the built-in microphone port for certain devices.

See Also

Configuring Microphone Directivity

var selectedPolarPattern: AVAudioSession.PolarPattern?

The directivity configuration currently in use by the data source.

var preferredPolarPattern: AVAudioSession.PolarPattern?

The preferred directivity configuration for the data source.

func setPreferredPolarPattern(AVAudioSession.PolarPattern?)

Selects the preferred directivity configuration for the data source.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software