AdServicesOutcomeReceiver
public
interface
AdServicesOutcomeReceiver
| android.adservices.common.AdServicesOutcomeReceiver<R, E extends java.lang.Throwable> |
This interface was deprecated
in API level 36.
The Rubidium (Rb) Relevance APIs, including those in android.adservices.common, are
being deprecated. Relevance APIs have no direct replacement. Developers should stop using
them, as calls will be rejected in future Android releases. Please refer to official Privacy
Sandbox documentation for deprecation and roadmap details:
https://privacysandbox.com/news/update-on-plans-for-privacy-sandbox-technologies/
Callback interface intended for use when an asynchronous operation may result in a failure. Exact
copy of the OutcomeReceiver class, re-defined in the AdServices package for
backwards compatibility to Android R.
This interface may be used in cases where an asynchronous API may complete either with a value
or with a Throwable that indicates an error.