Android.Bluetooth.LE.BluetoothLeScanner.StartScan Method
Start Bluetooth LE scan with default parameters and no filters.

Syntax

[Android.Runtime.Register("startScan", "(Landroid/bluetooth/le/ScanCallback;)V", "")]
public void StartScan (ScanCallback callback)

Parameters

callback
Callback used to deliver scan results.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionIf callback is null.

Remarks

Start Bluetooth LE scan with default parameters and no filters. The scan results will be delivered through callback.

Requires NoType:android/Manifest$permission;Href=../../../../reference/android/Manifest.permission.html#BLUETOOTH_ADMIN permission.

[Android Documentation]

Requirements

Namespace: Android.Bluetooth.LE
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0