語言

BluetoothDevice.BondState 屬性

定義

此 API 回傳遠端裝置的綁定狀態。

public Android.Bluetooth.Bond BondState { [Android.Runtime.Register("getBondState", "()I", "")] [Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")] get; }
[<get: Android.Runtime.Register("getBondState", "()I", "")>]
[<get: Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")>]
member this.BondState : Android.Bluetooth.Bond

屬性值

遠端裝置的鍵結狀態

屬性

備註

取得遠端裝置的結合狀態。

鍵結態的可能值為:#BOND_NONE、、#BOND_BONDING#BOND_BONDED。

Java 文件 android.bluetooth.BluetoothDevice.getBondState()。

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

適用於