Lingua

BluetoothGatt.GetDevicesMatchingConnectionStates(ProfileState[]) Metodo

Definizione

Questo membro è deprecato.

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

Parametri

states
ProfileState[]

Matrice di stati. Gli stati possono essere uno di Connected, Connecting, Disconnected, Disconnecting,

Valori restituiti

Elenco dei dispositivi. L'elenco sarà vuoto in caso di errore.

Implementazioni

Attributi

Eccezioni

Commenti

Questo membro è deprecato. Non supportato: usare BluetoothManager#getDevicesMatchingConnectionStates(int, int[]) con BluetoothProfile#GATT come primo argomento

per android.bluetooth.BluetoothGatt.getDevicesMatchingConnectionStates(int[]).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a