title: BluetoothAdapter ActionDiscoveryFinished
body: <p>I just started to take a look at xamarin and now I want to scan for bluetooth-devices. Therefor I use the following code:</p>
  
  <pre><code>BluetoothAdapter bluetoothAdapter = BluetoothAdapter.DefaultAdapter;
  bluetoothAdapter.StartDiscovery();
  </code></pre>
  
  <p>And I have the following <code>class</code> for getting the result:</p>
  
  <pre><code>[BroadcastReceiver]
  [IntentFilter(new [] {BluetoothAdapter.ActionDiscoveryFinished})]
  public class BluetoothReceiver : BroadcastReceiver
  {
      public BluetoothReceiver()
      {
  
      }
  
      public override void OnReceive(Context context, Intent intent)
      {
          if (BluetoothAdapter.ActionDiscoveryFinished.Equals(intent.Action))
          {
  
          }
      }
  }
  </code></pre>
  
  <p>I've also set the permissions for my app to <code>BLUETOOTH</code> and <code>BLUETOOTH_ADMIN</code>. Everything just works fine and the <code>OnReceive</code>-Method is called correctly. My problem now is: How do I get the found devices from the parameters of the OnReceive-Method? </p>