Language

PartialCustomAudience.Builder.SetExpirationTime(Instant) Method

Definition

Sets the Instant by when the membership to the custom audience will expire.

[Android.Runtime.Register("setExpirationTime", "(Ljava/time/Instant;)Landroid/adservices/customaudience/PartialCustomAudience$Builder;", "", ApiSince=35)]
public Android.AdServices.CustomAudiences.PartialCustomAudience.Builder SetExpirationTime(Java.Time.Instant? expirationTime);
[<Android.Runtime.Register("setExpirationTime", "(Ljava/time/Instant;)Landroid/adservices/customaudience/PartialCustomAudience$Builder;", "", ApiSince=35)>]
member this.SetExpirationTime : Java.Time.Instant -> Android.AdServices.CustomAudiences.PartialCustomAudience.Builder

Parameters

expirationTime
Instant

The caller's membership expiration time for the matching audience, or null to leave this field to the fetched audience.

Returns

This builder with the caller's expiration time set.

Attributes

Remarks

Sets the Instant by when the membership to the custom audience will expire.

See PartialCustomAudience.getExpirationTime() for details.

Android reference for android.adservices.customaudience.PartialCustomAudience.Builder.setExpirationTime.

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