How to get connected Bluetooth name ( without extension )

Hi to all community members

I need to ask that is there any way to get the connected Bluetooth device name inside the application without any extension .

For example :- I had paired the device and connect it using it’s Mac address and now I want it to get the name of that connected Bluetooth device .