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 unique identifier of this data, assigned by the Android Health Platform at insertion time.
[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
Returns
- Attributes
Remarks
Sets unique identifier of this data, assigned by the Android Health Platform at insertion time. When Record is created before insertion, this takes a sentinel value, any assigned value will be ignored.
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.