Idioma

BluetoothGattServer.GetDevicesMatchingConnectionStates(ProfileState[]) Método

Definição

Sem suporte – use BluetoothManager#getDevicesMatchingConnectionStates(int, int[]) com BluetoothProfile#GATT o primeiro 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. Os estados podem ser um dos Connected, Connecting, Disconnected, , Disconnecting

Retornos

Lista de dispositivos. A lista estará vazia por erro.

Implementações

Atributos

Exceções

Comentários

Sem suporte – use BluetoothManager#getDevicesMatchingConnectionStates(int, int[]) com BluetoothProfile#GATT o primeiro argumento

Java documentação para android.bluetooth.BluetoothGattServer.getDevicesMatchingConnectionStates(int[]).

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Project Open Source do Open Source e usadas de acordo com os termos descritos na Creative Commons 2.5.

Aplica-se a