Language

ScheduleCustomAudienceUpdateRequest.Builder.SetShouldReplacePendingUpdates Method

Definition

Sets whether any pending scheduled updates should be deleted and replaced with this ScheduleCustomAudienceUpdateRequest.

[Android.Runtime.Register("setShouldReplacePendingUpdates", "(Z)Landroid/adservices/customaudience/ScheduleCustomAudienceUpdateRequest$Builder;", "", ApiSince=36)]
public Android.AdServices.CustomAudiences.ScheduleCustomAudienceUpdateRequest.Builder SetShouldReplacePendingUpdates(bool shouldReplacePendingUpdates);
[<Android.Runtime.Register("setShouldReplacePendingUpdates", "(Z)Landroid/adservices/customaudience/ScheduleCustomAudienceUpdateRequest$Builder;", "", ApiSince=36)>]
member this.SetShouldReplacePendingUpdates : bool -> Android.AdServices.CustomAudiences.ScheduleCustomAudienceUpdateRequest.Builder

Parameters

shouldReplacePendingUpdates
Boolean

true to replace pending updates for the same buyer and app with this update; false to reject scheduling if such updates are pending. The default is false.

Returns

This builder with the pending-update replacement setting set.

Attributes

Remarks

Sets whether any pending scheduled updates should be deleted and replaced with this ScheduleCustomAudienceUpdateRequest.

By default, this setting is false.

See ScheduleCustomAudienceUpdateRequest.shouldReplacePendingUpdates() for more details.

Android reference for android.adservices.customaudience.ScheduleCustomAudienceUpdateRequest.Builder.setShouldReplacePendingUpdates.

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