我刚开始看xamarin,现在我想扫描蓝牙设备。因此,我使用以下代码:BluetoothAdapterbluetoothAdapter=BluetoothAdapter.DefaultAdapter;bluetoothAdapter.StartDiscovery();我有以下类来获取结果:[BroadcastReceiver][IntentFilter(new[]{BluetoothAdapter.ActionDiscoveryFinished})]publicclassBluetoothReceiver:BroadcastReceiver{publicBluetoothReceive