Język

TestAdSelectionManager.RemoveAdSelectionFromOutcomesConfigRemoteInfoOverride Method

Definition

Removes an override for AdSelectionFromOutcomesConfig in th Ad Selection API with associated the data in RemoveAdSelectionOverrideRequest.

[Android.Runtime.Register("removeAdSelectionFromOutcomesConfigRemoteInfoOverride", "(Landroid/adservices/adselection/RemoveAdSelectionFromOutcomesOverrideRequest;Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "GetRemoveAdSelectionFromOutcomesConfigRemoteInfoOverride_Landroid_adservices_adselection_RemoveAdSelectionFromOutcomesOverrideRequest_Ljava_util_concurrent_Executor_Landroid_os_OutcomeReceiver_Handler", ApiSince=35)]
public virtual void RemoveAdSelectionFromOutcomesConfigRemoteInfoOverride(Android.AdServices.AdSelection.RemoveAdSelectionFromOutcomesOverrideRequest request, Java.Util.Concurrent.IExecutor executor, Android.OS.IOutcomeReceiver receiver);
[<Android.Runtime.Register("removeAdSelectionFromOutcomesConfigRemoteInfoOverride", "(Landroid/adservices/adselection/RemoveAdSelectionFromOutcomesOverrideRequest;Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "GetRemoveAdSelectionFromOutcomesConfigRemoteInfoOverride_Landroid_adservices_adselection_RemoveAdSelectionFromOutcomesOverrideRequest_Ljava_util_concurrent_Executor_Landroid_os_OutcomeReceiver_Handler", ApiSince=35)>]
abstract member RemoveAdSelectionFromOutcomesConfigRemoteInfoOverride : Android.AdServices.AdSelection.RemoveAdSelectionFromOutcomesOverrideRequest * Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit
override this.RemoveAdSelectionFromOutcomesConfigRemoteInfoOverride : Android.AdServices.AdSelection.RemoveAdSelectionFromOutcomesOverrideRequest * Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit

Parameters

executor
IExecutor

This value cannot be null. Callback and listener events are dispatched through this Executor, providing an easy way to control which thread is used. To dispatch events through the main thread of your application, you can use Context.getMainExecutor(). Otherwise, provide an Executor that dispatches to an appropriate thread.

receiver
IOutcomeReceiver
Attributes

Remarks

Removes an override for AdSelectionFromOutcomesConfig in th Ad Selection API with associated the data in RemoveAdSelectionOverrideRequest. The RemoveAdSelectionOverrideRequest is provided by the Ads SDK.

This method is intended to be used for end-to-end testing. This API is enabled only for apps in debug mode with developer options enabled.

Java documentation for android.adservices.adselection.TestAdSelectionManager.removeAdSelectionFromOutcomesConfigRemoteInfoOverride(android.adservices.adselection.RemoveAdSelectionFromOutcomesOverrideRequest, java.util.concurrent.Executor, android.os.OutcomeReceiver<java.lang.Object, java.lang.Exception>).

Android reference for android.adservices.adselection.TestAdSelectionManager.removeAdSelectionFromOutcomesConfigRemoteInfoOverride.

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