BluetoothGattServer.GetDevicesMatchingConnectionStates(ProfileState[]) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Non pris en charge : utilisez-le BluetoothManager#getDevicesMatchingConnectionStates(int,
int[]) comme BluetoothProfile#GATT 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
Liste des appareils. La liste est vide lors de l’erreur.
Implémente
- Attributs
Exceptions
Remarques
Non pris en charge : utilisez-le BluetoothManager#getDevicesMatchingConnectionStates(int, int[]) comme BluetoothProfile#GATT premier argument
Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.