Android.Bluetooth.BluetoothHealth.DisconnectChannel Method
Disconnect a connected health channel.

Syntax

[Android.Runtime.Register("disconnectChannel", "(Landroid/bluetooth/BluetoothDevice;Landroid/bluetooth/BluetoothHealthAppConfiguration;I)Z", "")]
public bool DisconnectChannel (BluetoothDevice device, BluetoothHealthAppConfiguration config, int channelId)

Parameters

device
The remote Bluetooth device.
config
The application configuration which has been registered using BluetoothHealth.RegisterSinkAppConfiguration(string, System.Int32, System.Int32)
channelId
The channel id associated with the channel

Returns

Documentation for this section has not yet been entered.

Remarks

Disconnect a connected health channel. 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