I am new to Android development and working on a requirement to get the list of peripherals connected to an android device. Example list of devices: external speaker, display monitors connected.
Is there a way to get the peripherals list?
Note: I am not working on Android things and hence not considering PeripheralManager