Instance Property


The preferred directivity configuration for the data source.


var preferredPolarPattern: AVAudioSession.PolarPattern? { get }


If nil, the data source does not support directivity configuration, or no preferred polar pattern has been selected.

See Also

Configuring Microphone Directivity

var selectedPolarPattern: AVAudioSession.PolarPattern?

The directivity configuration currently in use by the data source.

var supportedPolarPatterns: [AVAudioSession.PolarPattern]?

The set of directivity configurations supported by the data source.

func setPreferredPolarPattern(AVAudioSession.PolarPattern?)

Selects the preferred directivity configuration for the data source.

struct AVAudioSession.PolarPattern

Constants that describe the possible polar patterns of the data source on an iOS device.

Data Source Polar Patterns

These values represent a data source’s available polar patterns.