bluetooth - Xamarin iOS External Accessory: check whether hands free device (car) is available -
i want app detect hands-free built in car. don't need communicate device, need check if available.
ex: want send notification when hands-free available on vehicle.
i got working corebluetooth works bt4/ble. need use eaaccessorymanager old bluetooth devices (version 2.0)? how can implement this? did try code below not work:
var _accessorylist = eaaccessorymanager.sharedaccessorymanager.connectedaccessories; foreach (eaaccessory acc in _accessorylist) { // devices }
the list _accessorylist empty.
the info.plist contains background mode external accessory communication , key uisupportedexternalaccessoryprotocols not sure should value put in.
any help? missing? thanks
Comments
Post a Comment