Language

AssociationRequest.DeviceProfileMedical Field

Definition

Device profile: A medical device, e.

[Android.Runtime.Register("DEVICE_PROFILE_MEDICAL", ApiSince=37)]
[Android.Runtime.RequiresPermission("android.permission.REQUEST_COMPANION_PROFILE_MEDICAL")]
public const string DeviceProfileMedical;
[<Android.Runtime.Register("DEVICE_PROFILE_MEDICAL", ApiSince=37)>]
[<Android.Runtime.RequiresPermission("android.permission.REQUEST_COMPANION_PROFILE_MEDICAL")>]
val mutable DeviceProfileMedical : string

Field Value

Implements

Attributes

Remarks

Device profile: A medical device, e.g. blood sugar level monitor, heart rate monitor, etc. If specified, the current request may have a modified UI to highlight that the device being set up is a medical device, and some extra permissions may be granted to the app as a result. Using it requires declaring uses-permission Manifest.permission.REQUEST_COMPANION_PROFILE_MEDICAL in the manifest. Requires Manifest.permission.REQUEST_COMPANION_PROFILE_MEDICAL

Android reference for android.companion.AssociationRequest.DEVICE_PROFILE_MEDICAL.

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