Share via


BluetoothHealthCallback.OnHealthAppConfigurationStatusChange Method

Definition

Callback to inform change in registration state of the health application.

[Android.Runtime.Register("onHealthAppConfigurationStatusChange", "(Landroid/bluetooth/BluetoothHealthAppConfiguration;I)V", "GetOnHealthAppConfigurationStatusChange_Landroid_bluetooth_BluetoothHealthAppConfiguration_IHandler")]
public virtual void OnHealthAppConfigurationStatusChange (Android.Bluetooth.BluetoothHealthAppConfiguration? config, Android.Bluetooth.HealthApplicationConfig status);
[<Android.Runtime.Register("onHealthAppConfigurationStatusChange", "(Landroid/bluetooth/BluetoothHealthAppConfiguration;I)V", "GetOnHealthAppConfigurationStatusChange_Landroid_bluetooth_BluetoothHealthAppConfiguration_IHandler")>]
abstract member OnHealthAppConfigurationStatusChange : Android.Bluetooth.BluetoothHealthAppConfiguration * Android.Bluetooth.HealthApplicationConfig -> unit
override this.OnHealthAppConfigurationStatusChange : Android.Bluetooth.BluetoothHealthAppConfiguration * Android.Bluetooth.HealthApplicationConfig -> unit

Parameters

config
BluetoothHealthAppConfiguration

Bluetooth Health app configuration

status
HealthApplicationConfig

Success or failure of the registration or unregistration calls. Can be one of BluetoothHealth#APP_CONFIG_REGISTRATION_SUCCESS or BluetoothHealth#APP_CONFIG_REGISTRATION_FAILURE or BluetoothHealth#APP_CONFIG_UNREGISTRATION_SUCCESS or BluetoothHealth#APP_CONFIG_UNREGISTRATION_FAILURE

Attributes

Remarks

Callback to inform change in registration state of the health application.

This callback is called on the binder thread (not on the UI thread)

This member is deprecated. Health Device Profile (HDP) and MCAP protocol are no longer used. New apps should use Bluetooth Low Energy based solutions such as BluetoothGatt, BluetoothAdapter#listenUsingL2capChannel(), or BluetoothDevice#createL2capChannel(int)

Java documentation for android.bluetooth.BluetoothHealthCallback.onHealthAppConfigurationStatusChange(android.bluetooth.BluetoothHealthAppConfiguration, int).

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.

Applies to