Share via


ScheduleCustomAudienceUpdateRequest.ShouldReplacePendingUpdates Method

Definition

Returns true if any pending scheduled updates should be canceled and replaced with the update detailed in the current ScheduleCustomAudienceUpdateRequest.

[Android.Runtime.Register("shouldReplacePendingUpdates", "()Z", "", ApiSince=36)]
public bool ShouldReplacePendingUpdates();
[<Android.Runtime.Register("shouldReplacePendingUpdates", "()Z", "", ApiSince=36)>]
member this.ShouldReplacePendingUpdates : unit -> bool

Returns

Attributes

Remarks

Returns true if any pending scheduled updates should be canceled and replaced with the update detailed in the current ScheduleCustomAudienceUpdateRequest.

If this method returns false and there are previously requested updates still pending for the same buyer in the same app, a call to CustomAudienceManager#scheduleCustomAudienceUpdate(ScheduleCustomAudienceUpdateRequest, Executor, AdServicesOutcomeReceiver) with this ScheduleCustomAudienceUpdateRequest will fail.

Java documentation for android.adservices.customaudience.ScheduleCustomAudienceUpdateRequest.shouldReplacePendingUpdates().

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