BluetoothAdapter.StopLeScan(BluetoothAdapter+ILeScanCallback) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
deprecated
Stops an ongoing Bluetooth LE device scan.
[Android.Runtime.Register("stopLeScan", "(Landroid/bluetooth/BluetoothAdapter$LeScanCallback;)V", "")]
[Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_SCAN")]
[System.Obsolete("deprecated")]
public void StopLeScan (Android.Bluetooth.BluetoothAdapter.ILeScanCallback? callback);
[<Android.Runtime.Register("stopLeScan", "(Landroid/bluetooth/BluetoothAdapter$LeScanCallback;)V", "")>]
[<Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_SCAN")>]
[<System.Obsolete("deprecated")>]
member this.StopLeScan : Android.Bluetooth.BluetoothAdapter.ILeScanCallback -> unit
Parameters
- callback
- BluetoothAdapter.ILeScanCallback
used to identify which scan to stop must be the same handle used to start the scan
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.