Langue

BluetoothGattServer.GetDevicesMatchingConnectionStates(ProfileState[]) Méthode

Définition

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

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

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.

S’applique à