Partager via


BluetoothGattServer.GetDevicesMatchingConnectionStates(ProfileState[]) Méthode

Définition

Non pris en charge - veuillez utiliser BluetoothManager#getDevicesMatchingConnectionStates(int, int[]) avec BluetoothProfile#GATT comme premier argument

[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>

Paramètres

states
ProfileState[]

Tableau d’états. Les états peuvent être l’un des Connectedétats , Connecting, DisconnectedDisconnecting,

Retours

Implémente

Attributs

Exceptions

Remarques

Documentation Java pour android.bluetooth.BluetoothGattServer.getDevicesMatchingConnectionStates(int[]).

Les parties de cette page sont des modifications basées sur le travail créé et partagé par le projet Android Open Source et utilisés en fonction des termes décrits dans la licence d’attribution Creative Commons 2.5.

S’applique à