Android.Bluetooth.BluetoothHealth.GetConnectionState Method
Get the current connection state of the profile.

Syntax

[Android.Runtime.Register("getConnectionState", "(Landroid/bluetooth/BluetoothDevice;)I", "")]
public ProfileState GetConnectionState (BluetoothDevice device)

Parameters

device
Remote bluetooth device.

Returns

Documentation for this section has not yet been entered.

Remarks

Get the current connection state of the profile.

Requires NoType:android/Manifest$permission;Href=../../../reference/android/Manifest.permission.html#BLUETOOTH permission. This is not specific to any application configuration but represents the connection state of the local Bluetooth adapter with the remote device. This can be used by applications like status bar which would just like to know the state of the local adapter.

[Android Documentation]

Requirements

Namespace: Android.Bluetooth
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 14