語言

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

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

適用於