Android.Bluetooth.BluetoothHealth.ConnectChannelToSource Method
Connect to a health device which has the BluetoothHealth.SourceRole.

Syntax

[Android.Runtime.Register("connectChannelToSource", "(Landroid/bluetooth/BluetoothDevice;Landroid/bluetooth/BluetoothHealthAppConfiguration;)Z", "")]
public bool ConnectChannelToSource (BluetoothDevice device, BluetoothHealthAppConfiguration config)

Parameters

device
The remote Bluetooth device.
config
The application configuration which has been registered using BluetoothHealth.RegisterSinkAppConfiguration(string, System.Int32, System.Int32)

Returns

Documentation for this section has not yet been entered.

Remarks

Connect to a health device which has the BluetoothHealth.SourceRole. This is an asynchronous call. If this function returns true, the callback associated with the application configuration will be called.

Requires NoType:android/Manifest$permission;Href=../../../reference/android/Manifest.permission.html#BLUETOOTH permission.

[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