Device.Builder.SetUdi(String) 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.
Sets an optional client supplied UDI (Unique Device Identifier), a unique numeric or alphanumeric code assigned to a medical device, for this Device instance.
[Android.Runtime.Register("setUdi", "(Ljava/lang/String;)Landroid/health/connect/datatypes/Device$Builder;", "", ApiSince=37)]
public Android.Health.Connect.DataTypes.Device.Builder SetUdi(string? udi);
[<Android.Runtime.Register("setUdi", "(Ljava/lang/String;)Landroid/health/connect/datatypes/Device$Builder;", "", ApiSince=37)>]
member this.SetUdi : string -> Android.Health.Connect.DataTypes.Device.Builder
Parameters
- udi
- String
Returns
- Attributes
Remarks
Sets an optional client supplied UDI (Unique Device Identifier), a unique numeric or alphanumeric code assigned to a medical device, for this Device instance.
A device receives a UDI from an accredited issuing agency (e.g. from GS1) which is then registered in multiple regulatory databases (e.g. FDA). The UDI is a unique, globally recognized identifier assigned to a specific device model. An accredited issuing agency, like GS1, provides the global standards used to create the UDI codes. The manufacturers must submit the UDI provided by GS1 to the relevant regulatory databases for each market they operate in.
In the US, this is the FDA’s Global Unique Device Identification Database (GUDID).
In the EU, it is the European Database on Medical Devices (EUDAMED).
The calling package needs to declare android.permission.health.WRITE_DEVICE_UDI in manifest to be able to set UDI for any record. SecurityException is thrown when upserting a record with UDI without the permission.
Android reference for android.health.connect.datatypes.Device.Builder.setUdi.
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.