Rémi Bernon (@rbernon) commented about include/windows.devices.bluetooth.advertisement.idl:
- {
HRESULT Create([in] Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementFilter *filter,
[out, retval] Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementWatcher **value);
- }
- [
contract(Windows.Foundation.UniversalApiContract, 1.0),
activatable(Windows.Foundation.UniversalApiContract, 1.0),
activatable(Windows.Devices.Bluetooth.Advertisement.IBluetoothLEAdvertisementWatcherFactory, Windows.Foundation.UniversalApiContract, 1.0),
marshaling_behavior(agile),
threading(both)
- ]
- runtimeclass BluetoothLEAdvertisementWatcher
- {
[default] interface Windows.Devices.Bluetooth.Advertisement.IBluetoothLEAdvertisementWatcher;
[contract(Windows.Foundation.UniversalApiContract, 10.0)] interface Windows.Devices.Bluetooth.Advertisement.IBluetoothLEAdvertisementWatcher2;
```suggestion:-0+0 [contract(Windows.Foundation.UniversalApiContract, 10.0)] interface Windows.Devices.Bluetooth.Advertisement.IBluetoothLEAdvertisementWatcher2; [contract(Windows.Foundation.UniversalApiContract, 19.0) /*, experimental */] interface Windows.Devices.Bluetooth.Advertisement.IBluetoothLEAdvertisementWatcher3; ```
Of course they needed a new attribute... lets add it commented, or feel free to add it to widl.
(We'll also probably need a forward declaration for the interface).