hypfvieh / bluez-dbus

bluetooth library for linux OSes using DBus and bluez (http://www.bluez.org/).
MIT License
69 stars 20 forks source link

Fixed BluetoothAdapter#setDiscoveryFilter(). #19

Closed s5uishida closed 5 years ago

s5uishida commented 5 years ago
BluetoothAdapter#setDiscoveryFilter(Map<String, Variant<?>> _filter)

Since each entry.getValue() returned by _filter.entrySet() is a Variant, I think it is necessary to obtain the inner class of Variant and check the class type.