Bug 24878 - Unified Bluetooth CoreBluetooth.NSErrorEventArgs
Summary: Unified Bluetooth CoreBluetooth.NSErrorEventArgs
Status: RESOLVED FIXED
Alias: None
Product: Xamarin.Mac
Classification: Desktop
Component: Library (Xamarin.Mac.dll) ()
Version: 1.11.0
Hardware: Macintosh Mac OS
: High normal
Target Milestone: 1.12.0
Assignee: Timothy Risi
URL:
Depends on:
Blocks:
 
Reported: 2014-11-27 05:22 UTC by David Lilley
Modified: 2015-01-20 10:25 UTC (History)
4 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description David Lilley 2014-11-27 05:22:13 UTC
Using the Unified API we have noticed a double in the bindings.


IOS wants to use NSFoundation.NSErrorEventArgs
Whilst
Mac CoreBluetooth.NSErrorEventArgs

EG
CBPeripheral m_aPeripheral;
m_aPeripheral.DiscoveredService += Peripheral_DiscoveredService;

IOS it would have to be 
void Peripheral_DiscoveredService(object aSender, NSFoundation.NSErrorEventArgs e)
{

}

Mac it would have to be 
void Peripheral_DiscoveredService(object aSender, CoreBluetooth.NSErrorEventArgs e)
{

}
Comment 1 Miguel de Icaza [MSFT] 2014-12-03 14:12:19 UTC
We need to fix this for the Unified final release.
Comment 2 Chris Hamons 2014-12-03 17:07:23 UTC
Let's try to get this in the alpha.

Tim, ping me when this gets fixed and i'll cherry-pick.
Comment 3 Timothy Risi 2014-12-04 12:37:39 UTC
Fixed on alpha