Language

Metadata.Builder.SetLastModifiedTime(Instant) Method

Definition

Sets when data was last modified (or originally created).

[Android.Runtime.Register("setLastModifiedTime", "(Ljava/time/Instant;)Landroid/health/connect/datatypes/Metadata$Builder;", "", ApiSince=34)]
public Android.Health.Connect.DataTypes.Metadata.Builder SetLastModifiedTime(Java.Time.Instant lastModifiedTime);
[<Android.Runtime.Register("setLastModifiedTime", "(Ljava/time/Instant;)Landroid/health/connect/datatypes/Metadata$Builder;", "", ApiSince=34)>]
member this.SetLastModifiedTime : Java.Time.Instant -> Android.Health.Connect.DataTypes.Metadata.Builder

Parameters

lastModifiedTime
Instant

The last modification instant to store in the metadata.

Returns

This metadata builder with the last-modified time set.

Attributes

Remarks

Sets when data was last modified (or originally created). The builder retains the supplied value. When a record is inserted, the platform ignores this value.

Android reference for android.health.connect.datatypes.Metadata.Builder.setLastModifiedTime.

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