AdapterLeScanResultChangedEventArgs e = new AdapterLeScanResultChangedEventArgs (res,
device);
- _adapterLeScanResultChanged (null, e);
+ _adapterLeScanResultChanged?.Invoke(null, e);
};
IntPtr data = IntPtr.Zero;
{
Log.Info(Globals.LogTag, "Setting advertising state changed callback !! " );
AdvertisingStateChangedEventArgs e = new AdvertisingStateChangedEventArgs(result, advertiserHandle, state);
- _advertisingStateChanged(null, e);
+ _advertisingStateChanged?.Invoke(null, e);
};
IntPtr uData = IntPtr.Zero;