void OnDeviceSelected(object sender, DeviceEventArgs e) { listRefreshTimer.Invalidate(); listRefreshTimer = null; BleClient.Connect(e.Device.Peripheral); contentView.HideDeviceTable(); }
public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions) { Window = new UIWindow(UIScreen.MainScreen.Bounds); Window.RootViewController = new MainController(); Window.MakeKeyAndVisible(); BleClient.Init(); return(true); }