语言

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、、Connecting、Disconnected、 Disconnecting

返回

此方法不返回值。

实现

特性

例外

调用此方法时始终引发。

注解

不支持 - 请与作为第一个参数一BluetoothManager#getDevicesMatchingConnectionStates(int, int[])起使用BluetoothProfile#GATT

Java文档android.bluetooth.BluetoothGattServer.getDevicesMatchingConnectionStates(int[])。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于