語言

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()。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於