Compartir a través de


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

Implementaciones

Atributos

Excepciones

Comentarios

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

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el proyecto de código abierto de Android y se usan según los términos descritos en la licencia de atribución de Creative Commons 2.5.

Se aplica a