Metadata.Builder.SetId(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 the record identifier stored by this metadata builder.
[Android.Runtime.Register("setId", "(Ljava/lang/String;)Landroid/health/connect/datatypes/Metadata$Builder;", "", ApiSince=34)]
public Android.Health.Connect.DataTypes.Metadata.Builder SetId(string id);
[<Android.Runtime.Register("setId", "(Ljava/lang/String;)Landroid/health/connect/datatypes/Metadata$Builder;", "", ApiSince=34)>]
member this.SetId : string -> Android.Health.Connect.DataTypes.Metadata.Builder
Parameters
- id
- String
The record identifier to store in the metadata builder.
Returns
This metadata builder with the record identifier set.
- Attributes
Remarks
Sets the identifier of this data. The builder retains the supplied value. When a record is inserted, the platform ignores this value and assigns an identifier.
Android reference for android.health.connect.datatypes.Metadata.Builder.setId.
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.