I am developing a Java application and need to create a button to record sound. But the sound will be received by Bluetooth. I would like to know if there have any APIs particularly for this type of situation? Or if I should plan as if it were received by the sound input sound normal?

I will use the BTD 300 Audio of Sennheiser (the second in the link):
Sennheiser Worldwide: Private Audio / Accessories Headphones

Thank you.

Best regards.