BluetoothGattServer.GetConnectionState(BluetoothDevice) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
不支持——請使用 BluetoothManager#getConnectedDevices(int) with BluetoothProfile#GATT 作為論點
[Android.Runtime.Register("getConnectionState", "(Landroid/bluetooth/BluetoothDevice;)I", "")]
public Android.Bluetooth.ProfileState GetConnectionState(Android.Bluetooth.BluetoothDevice? device);
[<Android.Runtime.Register("getConnectionState", "(Landroid/bluetooth/BluetoothDevice;)I", "")>]
abstract member GetConnectionState : Android.Bluetooth.BluetoothDevice -> Android.Bluetooth.ProfileState
override this.GetConnectionState : Android.Bluetooth.BluetoothDevice -> Android.Bluetooth.ProfileState
參數
- device
- BluetoothDevice
遠端藍牙裝置。
傳回
實作
- 屬性
例外狀況
備註
不支持——請使用 BluetoothManager#getConnectedDevices(int) with BluetoothProfile#GATT 作為論點
Java 文件 android.bluetooth.BluetoothGattServer.getConnectionState(android.bluetooth.BluetoothDevice)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。