Language

IBluetoothProfile.GetDevicesMatchingConnectionStates(ProfileState[]) メソッド

定義

特定の接続状態のいずれかに一致するデバイスの一覧を取得します。

[Android.Runtime.Register("getDevicesMatchingConnectionStates", "([I)Ljava/util/List;", "GetGetDevicesMatchingConnectionStates_arrayIHandler:Android.Bluetooth.IBluetoothProfileInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public System.Collections.Generic.IList<Android.Bluetooth.BluetoothDevice>? GetDevicesMatchingConnectionStates(Android.Bluetooth.ProfileState[]? states);
[<Android.Runtime.Register("getDevicesMatchingConnectionStates", "([I)Ljava/util/List;", "GetGetDevicesMatchingConnectionStates_arrayIHandler:Android.Bluetooth.IBluetoothProfileInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetDevicesMatchingConnectionStates : Android.Bluetooth.ProfileState[] -> System.Collections.Generic.IList<Android.Bluetooth.BluetoothDevice>

パラメーター

states
ProfileState[]

状態の配列。 状態は、 #STATE_CONNECTED、 #STATE_CONNECTING、 #STATE_DISCONNECTED、 #STATE_DISCONNECTING、

返品

デバイスの一覧。 エラーが発生すると、リストは空になります。

属性

注釈

特定の接続状態のいずれかに一致するデバイスの一覧を取得します。

どのデバイスも特定の状態と一致しない場合は、空のリストが返されます。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象