BluetoothAdapter.StopLeScan(BluetoothAdapter+ILeScanCallback) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
deprecated
停止正在进行的蓝牙 LE 设备扫描。
[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
参数
- callback
- BluetoothAdapter.ILeScanCallback
用于标识要停止的扫描必须是用于启动扫描的同一句柄
- 特性
注解
Java文档android.bluetooth.BluetoothAdapter.stopLeScan(android.bluetooth.LeScanCallback)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。