語言

BluetoothGatt.GetDevicesMatchingConnectionStates(ProfileState[]) 方法

定義

此會員已被棄用。

[Android.Runtime.Register("getDevicesMatchingConnectionStates", "([I)Ljava/util/List;", "")]
public System.Collections.Generic.IList<Android.Bluetooth.BluetoothDevice>? GetDevicesMatchingConnectionStates(Android.Bluetooth.ProfileState[] states);
[<Android.Runtime.Register("getDevicesMatchingConnectionStates", "([I)Ljava/util/List;", "")>]
abstract member GetDevicesMatchingConnectionStates : Android.Bluetooth.ProfileState[] -> System.Collections.Generic.IList<Android.Bluetooth.BluetoothDevice>
override this.GetDevicesMatchingConnectionStates : Android.Bluetooth.ProfileState[] -> System.Collections.Generic.IList<Android.Bluetooth.BluetoothDevice>

參數

states
ProfileState[]

各種狀態。 狀態可以是 Connected、 Connecting、 DisconnectedDisconnecting, , 之一。

傳回

沒有任何價值回傳。 每通電話都會丟 UnsupportedOperationException出 。

實作

屬性

例外狀況

備註

此會員已被棄用。 不支援——請先用BluetoothManager#getDevicesMatchingConnectionStates(int, int[])BluetoothProfile#GATT

Java 文件 android.bluetooth.BluetoothGatt.getDevicesMatchingConnectionStates(int[])。

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

適用於