다음을 통해 공유


ScanResult.Device Property

Definition

Returns the remote Bluetooth device identified by the Bluetooth device address.

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

Property Value

Attributes

Remarks

Returns the remote Bluetooth device identified by the Bluetooth device address. If the device is bonded, calling BluetoothDevice#getAddress on the object returned by this method will return the address that was originally bonded with (either identity address or random address).

Java documentation for android.bluetooth.le.ScanResult.getDevice().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to