IBluetoothProfile.GetDevicesMatchingConnectionStates(ProfileState[]) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
特定の接続状態のいずれかに一致するデバイスの一覧を取得します。
[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、
返品
デバイスの一覧。 エラーが発生すると、リストは空になります。
- 属性
注釈
特定の接続状態のいずれかに一致するデバイスの一覧を取得します。
どのデバイスも特定の状態と一致しない場合は、空のリストが返されます。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。