Optionaloptions: { seconds?: number } | null
How to search
Optionalseconds?: numberHow long to search for, from 1 to 255. Defaults to 10
A Promise resolving to the devices found when the search ends, or when stopInquiry() is called. Rejects if a search is already running, the options are invalid, or the search fails
Searches for discoverable classic Bluetooth devices nearby, such as headphones in pairing mode. Only one search can run at a time.
This interrupts the audio of connected Bluetooth headphones while it runs.