allowHapticsAndSystemSoundsDuringRecording property

bool allowHapticsAndSystemSoundsDuringRecording
final

Whether haptics and system sounds (including incoming call ring tones) are allowed to play while recording (defaults to false).

When true, the recording session is not interrupted by an incoming call ringing. The interruption only begins once the user actually answers the call. This maps to AVAudioSession.setAllowHapticsAndSystemSoundsDuringRecording(_:).

https://developer.apple.com/documentation/avfaudio/avaudiosession/setallowhapticsandsystemsoundsduringrecording(_:)

Implementation

final bool allowHapticsAndSystemSoundsDuringRecording;