Can I trigger AudioRecordingIntent from a bluetooth device

I have a BLE device which my app connects to and can detect button presses. On a button press, I want my app to start recording using the AudioRecordingIntent. But my app doesn't work and throws a background error. Is there any reliable way I can get the app to start recording audio in the background?

I also wanted to check if my app can trigger audio recording from the background if my bluetooth device supports and is active on HFP mode

Can I trigger AudioRecordingIntent from a bluetooth device
 
 
Q