TestAdSelectionManager.OverrideAdSelectionFromOutcomesConfigRemoteInfo 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.
Overrides the AdSelection API for AdSelectionFromOutcomesConfig
to avoid fetching
data from remote servers and use the data provided in AddAdSelectionFromOutcomesOverrideRequest
instead.
[Android.Runtime.Register("overrideAdSelectionFromOutcomesConfigRemoteInfo", "(Landroid/adservices/adselection/AddAdSelectionFromOutcomesOverrideRequest;Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "GetOverrideAdSelectionFromOutcomesConfigRemoteInfo_Landroid_adservices_adselection_AddAdSelectionFromOutcomesOverrideRequest_Ljava_util_concurrent_Executor_Landroid_os_OutcomeReceiver_Handler", ApiSince=35)]
public virtual void OverrideAdSelectionFromOutcomesConfigRemoteInfo (Android.AdServices.AdSelection.AddAdSelectionFromOutcomesOverrideRequest request, Java.Util.Concurrent.IExecutor executor, Android.OS.IOutcomeReceiver receiver);
[<Android.Runtime.Register("overrideAdSelectionFromOutcomesConfigRemoteInfo", "(Landroid/adservices/adselection/AddAdSelectionFromOutcomesOverrideRequest;Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "GetOverrideAdSelectionFromOutcomesConfigRemoteInfo_Landroid_adservices_adselection_AddAdSelectionFromOutcomesOverrideRequest_Ljava_util_concurrent_Executor_Landroid_os_OutcomeReceiver_Handler", ApiSince=35)>]
abstract member OverrideAdSelectionFromOutcomesConfigRemoteInfo : Android.AdServices.AdSelection.AddAdSelectionFromOutcomesOverrideRequest * Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit
override this.OverrideAdSelectionFromOutcomesConfigRemoteInfo : Android.AdServices.AdSelection.AddAdSelectionFromOutcomesOverrideRequest * Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit
Parameters
- executor
- IExecutor
- receiver
- IOutcomeReceiver
- Attributes
Remarks
Overrides the AdSelection API for AdSelectionFromOutcomesConfig
to avoid fetching data from remote servers and use the data provided in AddAdSelectionFromOutcomesOverrideRequest
instead. The AddAdSelectionFromOutcomesOverrideRequest
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.