Langue

BluetoothGatt.GetDevicesMatchingConnectionStates(ProfileState[]) Méthode

Définition

Ce membre est déconseillé.

[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

Aucune valeur n’est retournée. Chaque appel lève UnsupportedOperationException.

Implémente

Attributs

Exceptions

Remarques

Ce membre est déconseillé. Non pris en charge : utilisez-le BluetoothManager#getDevicesMatchingConnectionStates(int, int[]) comme BluetoothProfile#GATT premier argument

Java documentation pour android.bluetooth.BluetoothGatt.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 à