语言

ScanResult.Device 属性

定义

返回由蓝牙设备地址标识的远程蓝牙设备。

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

属性值

特性

注解

返回由蓝牙设备地址标识的远程蓝牙设备。 如果设备已绑定,则调用 BluetoothDevice#getAddress 此方法返回的对象将返回最初与(标识地址或随机地址)绑定的地址。

Java文档android.bluetooth.le.ScanResult.getDevice()。

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

适用于