ExecuteInput
public
final
class
ExecuteInput
extends Object
| java.lang.Object | |
| ↳ | android.adservices.ondevicepersonalization.ExecuteInput |
This class is deprecated.
The ODP APIs are deprecated and will not be supported in future Android releases.
There is no direct replacement API available. Developers currently integrated with these APIs
must cease further integration efforts. For comprehensive details regarding this deprecation and
the future roadmap of Privacy Sandbox on Android, please consult the official Privacy Sandbox
developer documentation and announcements:
https://privacysandbox.google.com
The input data for IsolatedWorker.onExecute(ExecuteInput,android.os.OutcomeReceiver).
Summary
Public constructors | |
|---|---|
ExecuteInput(String appPackageName, PersistableBundle appParams)
Creates an |
|
Public methods | |
|---|---|
String
|
getAppPackageName()
The package name of the calling app. |
PersistableBundle
|
getAppParams()
The parameters provided by the app to the |
Inherited methods | |
|---|---|
Public constructors
ExecuteInput
public ExecuteInput (String appPackageName, PersistableBundle appParams)
Creates an ExecuteInput.
| Parameters | |
|---|---|
appPackageName |
String: the package name of the calling app.
This value cannot be null. |
appParams |
PersistableBundle: the parameters provided by the app to the IsolatedService. The
service defines the expected keys in this PersistableBundle.
This value cannot be null. |
Public methods
getAppPackageName
public String getAppPackageName ()
The package name of the calling app.
| Returns | |
|---|---|
String |
This value cannot be null. |
getAppParams
public PersistableBundle getAppParams ()
The parameters provided by the app to the IsolatedService. The service
defines the expected keys in this PersistableBundle.
| Returns | |
|---|---|
PersistableBundle |
This value cannot be null. |