Language

BluetoothGatt.GetConnectionState(BluetoothDevice) メソッド

定義

このメンバーは非推奨です。

[Android.Runtime.Register("getConnectionState", "(Landroid/bluetooth/BluetoothDevice;)I", "")]
public Android.Bluetooth.ProfileState GetConnectionState(Android.Bluetooth.BluetoothDevice? device);
[<Android.Runtime.Register("getConnectionState", "(Landroid/bluetooth/BluetoothDevice;)I", "")>]
abstract member GetConnectionState : Android.Bluetooth.BluetoothDevice -> Android.Bluetooth.ProfileState
override this.GetConnectionState : Android.Bluetooth.BluetoothDevice -> Android.Bluetooth.ProfileState

パラメーター

device
BluetoothDevice

リモート Bluetooth デバイス。

返品

プロファイル接続の状態。 STATE_CONNECTED、STATE_CONNECTING、STATE_DISCONNECTED、STATE_DISCONNECTING値のいずれかを次に示します。STATE_DISCONNECTED;STATE_CONNECTING;STATE_CONNECTED;STATE_DISCONNECTING

実装

属性

例外

注釈

このメンバーは非推奨です。 サポートされていません - 引数として BluetoothManager#getConnectedDevices(int)BluetoothProfile#GATT を使用してください

Javaドキュメント。

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

適用対象