TestAdSelectionManager.RemoveAdSelectionConfigRemoteInfoOverride Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes an override for AdSelectionConfig in the Ad Selection API with associated the
data in RemoveAdSelectionOverrideRequest.
[Android.Runtime.Register("removeAdSelectionConfigRemoteInfoOverride", "(Landroid/adservices/adselection/RemoveAdSelectionOverrideRequest;Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "GetRemoveAdSelectionConfigRemoteInfoOverride_Landroid_adservices_adselection_RemoveAdSelectionOverrideRequest_Ljava_util_concurrent_Executor_Landroid_os_OutcomeReceiver_Handler", ApiSince=34)]
public virtual void RemoveAdSelectionConfigRemoteInfoOverride(Android.AdServices.AdSelection.RemoveAdSelectionOverrideRequest request, Java.Util.Concurrent.IExecutor executor, Android.OS.IOutcomeReceiver receiver);
[<Android.Runtime.Register("removeAdSelectionConfigRemoteInfoOverride", "(Landroid/adservices/adselection/RemoveAdSelectionOverrideRequest;Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "GetRemoveAdSelectionConfigRemoteInfoOverride_Landroid_adservices_adselection_RemoveAdSelectionOverrideRequest_Ljava_util_concurrent_Executor_Landroid_os_OutcomeReceiver_Handler", ApiSince=34)>]
abstract member RemoveAdSelectionConfigRemoteInfoOverride : Android.AdServices.AdSelection.RemoveAdSelectionOverrideRequest * Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit
override this.RemoveAdSelectionConfigRemoteInfoOverride : Android.AdServices.AdSelection.RemoveAdSelectionOverrideRequest * Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit
Parameters
- request
- RemoveAdSelectionOverrideRequest
The configuration whose override is to be removed.
- executor
- IExecutor
This value cannot be null. Service callbacks are dispatched through this executor. Some errors when accessing the service can be delivered directly to the receiver. To dispatch service callbacks through the main thread, use MainExecutor. Otherwise, provide an executor that dispatches to an appropriate thread.
- receiver
- IOutcomeReceiver
The callback for the operation. In the Android 16 AOSP source, it can receive a result or an exception. In the Android 17 AOSP source, both service callbacks report an exception.
- Attributes
Remarks
Removes an override for AdSelectionConfig in the 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.
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.