Language

DeletionRequest.Builder.SetEnd(Instant) Method

Definition

Set the end of the deletion range.

[Android.Runtime.Register("setEnd", "(Ljava/time/Instant;)Landroid/adservices/measurement/DeletionRequest$Builder;", "", ApiSince=34)]
public Android.AdServices.Measurement.DeletionRequest.Builder SetEnd(Java.Time.Instant end);
[<Android.Runtime.Register("setEnd", "(Ljava/time/Instant;)Landroid/adservices/measurement/DeletionRequest$Builder;", "", ApiSince=34)>]
member this.SetEnd : Java.Time.Instant -> Android.AdServices.Measurement.DeletionRequest.Builder

Parameters

end
Instant

The end of the deletion range. Use Instant.MAX to extend the range to the newest record. The default is Instant.MAX.

Returns

This builder with the end of the deletion range set.

Attributes

Remarks

Set the end of the deletion range. Passing in Instant.MAX will cause everything from the specified start until the newest record to be deleted. No set end will default to Instant.MAX.

Android reference for android.adservices.measurement.DeletionRequest.Builder.setEnd.

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