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?

Can I trigger AudioRecordingIntent from a bluetooth device
 
 
Q