Android.Bluetooth.BluetoothHealth.GetMainChannelFd Method
Get the file descriptor of the main channel associated with the remote device and application configuration.

Syntax

[Android.Runtime.Register("getMainChannelFd", "(Landroid/bluetooth/BluetoothDevice;Landroid/bluetooth/BluetoothHealthAppConfiguration;)Landroid/os/ParcelFileDescriptor;", "")]
public Android.OS.ParcelFileDescriptor GetMainChannelFd (BluetoothDevice device, BluetoothHealthAppConfiguration config)

Parameters

device
The remote Bluetooth health device
config
The application configuration

Returns

Documentation for this section has not yet been entered.

Remarks

Get the file descriptor of the main channel associated with the remote device and application configuration.

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

Its the responsibility of the caller to close the ParcelFileDescriptor when done.

[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