BluetoothLeScanner.FlushPendingScanResults(ScanCallback) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
排清儲存在藍牙控制器中的擱置批次掃描結果。
[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
參數
- callback
- ScanCallback
藍牙 LE 掃描的回呼,它必須和用來開始掃描的實例相同。
- 屬性
備註
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。