Beispiel #1
0
        void OnDeviceSelected(object sender, DeviceEventArgs e)
        {
            listRefreshTimer.Invalidate();
            listRefreshTimer = null;

            BleClient.Connect(e.Device.Peripheral);

            contentView.HideDeviceTable();
        }
Beispiel #2
0
        public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
        {
            Window = new UIWindow(UIScreen.MainScreen.Bounds);
            Window.RootViewController = new MainController();
            Window.MakeKeyAndVisible();

            BleClient.Init();

            return(true);
        }