IBluetoothProfile.GetConnectionState(BluetoothDevice) Methode

Definition

Abrufen des aktuellen Verbindungsstatus des Profils

[Android.Runtime.Register("getConnectionState", "(Landroid/bluetooth/BluetoothDevice;)I", "GetGetConnectionState_Landroid_bluetooth_BluetoothDevice_Handler:Android.Bluetooth.IBluetoothProfileInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Android.Bluetooth.ProfileState GetConnectionState(Android.Bluetooth.BluetoothDevice? device);
[<Android.Runtime.Register("getConnectionState", "(Landroid/bluetooth/BluetoothDevice;)I", "GetGetConnectionState_Landroid_bluetooth_BluetoothDevice_Handler:Android.Bluetooth.IBluetoothProfileInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetConnectionState : Android.Bluetooth.BluetoothDevice -> Android.Bluetooth.ProfileState

Parameter

device
BluetoothDevice

Bluetooth-Remotegerät.

Gibt zurück

Status der Profilverbindung. Einer von #STATE_CONNECTED, , #STATE_CONNECTING, #STATE_DISCONNECTED#STATE_DISCONNECTING

Attribute

Hinweise

Abrufen des aktuellen Verbindungsstatus des Profils

Java Dokumentation für android.bluetooth.BluetoothProfile.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: