BluetoothHidDevice.Callback.OnVirtualCableUnplug(BluetoothDevice) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
删除虚拟电缆时调用的回调。
[Android.Runtime.Register("onVirtualCableUnplug", "(Landroid/bluetooth/BluetoothDevice;)V", "GetOnVirtualCableUnplug_Landroid_bluetooth_BluetoothDevice_Handler", ApiSince=28)]
public virtual void OnVirtualCableUnplug(Android.Bluetooth.BluetoothDevice? device);
[<Android.Runtime.Register("onVirtualCableUnplug", "(Landroid/bluetooth/BluetoothDevice;)V", "GetOnVirtualCableUnplug_Landroid_bluetooth_BluetoothDevice_Handler", ApiSince=28)>]
abstract member OnVirtualCableUnplug : Android.Bluetooth.BluetoothDevice -> unit
override this.OnVirtualCableUnplug : Android.Bluetooth.BluetoothDevice -> unit
参数
- device
- BluetoothDevice
- 特性
注解
删除虚拟电缆时调用的回调。 收到此回调后,连接将自动断开连接。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。