BluetoothGattServer.GetDevicesMatchingConnectionStates(ProfileState[]) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
不支援 - 請使用 BluetoothManager#getDevicesMatchingConnectionStates(int, int[])
以 BluetoothProfile#GATT
作為第一個自變數
[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[]
狀態的陣列。 狀態可以是 、、Connecting、Disconnected、 Disconnecting的Connected其中一個
傳回
實作
- 屬性
例外狀況
備註
的 android.bluetooth.BluetoothGattServer.getDevicesMatchingConnectionStates(int[])
Java 檔。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。