Optionaloptions: Record<string, any> | nullAn object with seconds (number, default 10, at most 255): how long to search for
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.