语言

BluetoothHidDevice.Callback.OnVirtualCableUnplug(BluetoothDevice) 方法

定义

删除虚拟电缆时调用的回调。

[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

参数

特性

注解

删除虚拟电缆时调用的回调。 收到此回调后,连接将自动断开连接。

Java文档android.bluetooth.BluetoothHidDevice.Callback.onVirtualCableUnplug(android.bluetooth.BluetoothDevice)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于