Langue

BluetoothGattServer.GetConnectionState(BluetoothDevice) Méthode

Définition

Non pris en charge : utilisez-le BluetoothManager#getConnectedDevices(int) en BluetoothProfile#GATT tant qu’argument

[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

Paramètres

device
BluetoothDevice

Appareil Bluetooth distant.

Retours

Implémente

Attributs

Exceptions

Remarques

Non pris en charge : utilisez-le BluetoothManager#getConnectedDevices(int) en BluetoothProfile#GATT tant qu’argument

Java documentation pour android.bluetooth.BluetoothGattServer.getConnectionState(android.bluetooth.BluetoothDevice).

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à