getBondedPeripherals

Returns a list of peripherals for which the system has bond information.

Like getPeripheralsById, peripherals are returned only when Bluetooth is powered on. Otherwise, an empty list is returned.

Return

A list of bonded peripherals, or an empty list if Bluetooth is not powered on.

Throws

If the central manager has been closed.

If BLUETOOTH_CONNECT permission is denied.