title: Detect whenever another app attempts to record
body: <p>I am writing an app that records audio continuously and waits for a known keyword, a bit like the Google Assistant which waits for "OK Google".</p>
  
  <p>My issue is that while I am recording any other app that tries to record fails. I would like to stop my recording whenever another app on the system attempts to record and resume it when that app finishes.</p>