Udostępnij za pośrednictwem


BluetoothLeScanner.FlushPendingScanResults(ScanCallback) Method

Definition

Flush pending batch scan results stored in Bluetooth controller.

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

Parameters

callback
ScanCallback

Callback of the Bluetooth LE Scan, it has to be the same instance as the one used to start scan.

Attributes

Remarks

Java documentation for android.bluetooth.le.BluetoothLeScanner.flushPendingScanResults(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