BluetoothHealth.RegisterSinkAppConfiguration Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Register an application configuration that acts as a Health SINK.
[Android.Runtime.Register("registerSinkAppConfiguration", "(Ljava/lang/String;ILandroid/bluetooth/BluetoothHealthCallback;)Z", "")]
[Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")]
public bool RegisterSinkAppConfiguration (string? name, int dataType, Android.Bluetooth.BluetoothHealthCallback? callback);
[<Android.Runtime.Register("registerSinkAppConfiguration", "(Ljava/lang/String;ILandroid/bluetooth/BluetoothHealthCallback;)Z", "")>]
[<Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")>]
member this.RegisterSinkAppConfiguration : string * int * Android.Bluetooth.BluetoothHealthCallback -> bool
Parameters
- name
- String
The friendly name associated with the application or configuration.
- dataType
- Int32
The dataType of the Source role of Health Profile to which the sink wants to connect to.
- callback
- BluetoothHealthCallback
A callback to indicate success or failure of the registration and all operations done on this application configuration.
Returns
If true, callback will be called.
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.