Android.Bluetooth.BluetoothHealth.RegisterSinkAppConfiguration Method
Register an application configuration that acts as a Health SINK.

Syntax

[Android.Runtime.Register("registerSinkAppConfiguration", "(Ljava/lang/String;ILandroid/bluetooth/BluetoothHealthCallback;)Z", "")]
public bool RegisterSinkAppConfiguration (string name, int dataType, BluetoothHealthCallback callback)

Parameters

name
The friendly name associated with the application or configuration.
dataType
The dataType of the Source role of Health Profile to which the sink wants to connect to.
callback
A callback to indicate success or failure of the registration and all operations done on this application configuration.

Returns

Documentation for this section has not yet been entered.

Remarks

Register an application configuration that acts as a Health SINK. This is the configuration that will be used to communicate with health devices which will act as the BluetoothHealth.SourceRole. This is an asynchronous call and so the callback is used to notify success or failure if the function returns true.

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