Sprache

BluetoothGattServer.GetConnectionState(BluetoothDevice) Methode

Definition

Nicht unterstützt - bitte als BluetoothProfile#GATT Argument verwenden BluetoothManager#getConnectedDevices(int)

[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

Parameter

device
BluetoothDevice

Bluetooth-Remotegerät.

Gibt zurück

Implementiert

Attribute

Ausnahmen

Hinweise

Nicht unterstützt - bitte als BluetoothProfile#GATT Argument verwenden BluetoothManager#getConnectedDevices(int)

Java Dokumentation für android.bluetooth.BluetoothGattServer.getConnectionState(android.bluetooth.BluetoothDevice).

Teile dieser Seite sind Änderungen auf der Grundlage von Arbeiten, die von der Android Open Source Project erstellt und gemeinsam verwendet und gemäß den in der 2.5 Attribution License beschriebenen Begriffen verwendet werden.

Gilt für: