Поделиться через


BluetoothGattServer.GetDevicesMatchingConnectionStates(ProfileState[]) Метод

Определение

Не поддерживается — используйте BluetoothManager#getDevicesMatchingConnectionStates(int, int[]) с BluetoothProfile#GATT первым аргументом

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

Параметры

states
ProfileState[]

Массив состояний. Состояния могут быть одним из Connected, , DisconnectedConnecting, Disconnecting

Возвращаемое значение

Реализации

Атрибуты

Исключения

Комментарии

Документация по Java для android.bluetooth.BluetoothGattServer.getDevicesMatchingConnectionStates(int[]).

Части этой страницы — это изменения на основе работы, созданной и общей проектом с открытым исходным кодом Android и используемой в соответствии с условиями, описанными в лицензии Creative Commons 2.5 Attribution.

Применяется к