Lenguaje

BluetoothGattServer.GetDevicesMatchingConnectionStates(ProfileState[]) Método

Definición

No compatible: use BluetoothManager#getDevicesMatchingConnectionStates(int, int[]) con BluetoothProfile#GATT como primer argumento.

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

Parámetros

states
ProfileState[]

Matriz de estados. Los estados pueden ser uno de los estados Connected, Connecting, Disconnected, , Disconnecting,

Devoluciones

Lista de dispositivos. La lista estará vacía en caso de error.

Implementaciones

Atributos

Excepciones

Comentarios

No compatible: use BluetoothManager#getDevicesMatchingConnectionStates(int, int[]) con BluetoothProfile#GATT como primer argumento.

Java documentación para android.bluetooth.BluetoothGattServer.getDevicesMatchingConnectionStates(int[]).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a