BluetoothLeScanner.StopScan Method

Definition

Overloads

StopScan(PendingIntent)

Stops an ongoing Bluetooth LE scan started using a PendingIntent.

StopScan(ScanCallback)

Stops an ongoing Bluetooth LE scan.

StopScan(PendingIntent)

Stops an ongoing Bluetooth LE scan started using a PendingIntent.

[Android.Runtime.Register("stopScan", "(Landroid/app/PendingIntent;)V", "", ApiSince=26)]
[Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_SCAN")]
public void StopScan (Android.App.PendingIntent? callbackIntent);
[<Android.Runtime.Register("stopScan", "(Landroid/app/PendingIntent;)V", "", ApiSince=26)>]
[<Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_SCAN")>]
member this.StopScan : Android.App.PendingIntent -> unit

Parameters

callbackIntent
PendingIntent

The PendingIntent that was used to start the scan.

Attributes

Remarks

Java documentation for android.bluetooth.le.BluetoothLeScanner.stopScan(android.app.PendingIntent).

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.

Applies to

StopScan(ScanCallback)

Stops an ongoing Bluetooth LE scan.

[Android.Runtime.Register("stopScan", "(Landroid/bluetooth/le/ScanCallback;)V", "")]
[Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_SCAN")]
public void StopScan (Android.Bluetooth.LE.ScanCallback? callback);
[<Android.Runtime.Register("stopScan", "(Landroid/bluetooth/le/ScanCallback;)V", "")>]
[<Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_SCAN")>]
member this.StopScan : Android.Bluetooth.LE.ScanCallback -> unit

Parameters

callback
ScanCallback

callback

Attributes

Remarks

Java documentation for android.bluetooth.le.BluetoothLeScanner.stopScan(android.bluetooth.le.ScanCallback).

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.

Applies to