Beispiel #1
0
        private async void Discover()
        {
            using (UserDialogs.Instance.Loading("Discovering devices..."))
            {
                Devices.Clear();

                var devices = await BluetoothAdapter.DiscoverDevicesAsync(5);

                foreach (var device in devices)
                {
                    Devices.Add(device);
                }
            }
        }