BluetoothGatt.GetDevicesMatchingConnectionStates(ProfileState[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Not supported - please use
BluetoothManager#getDevicesMatchingConnectionStates(int, int[])
with BluetoothProfile#GATT
as first argument
[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>
Parameters
- states
- ProfileState[]
Array of states. States can be one of Connected, Connecting, Disconnected, Disconnecting,
Returns
Implements
- Attributes
Exceptions
Remarks
Java documentation for android.bluetooth.BluetoothGatt.getDevicesMatchingConnectionStates(int[])
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.