语言

AssociatedDevice.BluetoothDevice 属性

定义

返回蓝牙设备信息。

public Android.Bluetooth.BluetoothDevice? BluetoothDevice { [Android.Runtime.Register("getBluetoothDevice", "()Landroid/bluetooth/BluetoothDevice;", "", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getBluetoothDevice", "()Landroid/bluetooth/BluetoothDevice;", "", ApiSince=34)>]
member this.BluetoothDevice : Android.Bluetooth.BluetoothDevice

属性值

包含 MAC 地址的远程蓝牙设备详细信息。

特性

注解

返回蓝牙设备信息。 如果关联的设备不是蓝牙设备,则为 Null。

Java文档android.companion.AssociatedDevice.getBluetoothDevice()。

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

适用于