Added in API level 35

ExecuteInput


public final class ExecuteInput
extends Object

java.lang.Object
   ↳ android.adservices.ondevicepersonalization.ExecuteInput


The input data for IsolatedWorker#onExecute(ExecuteInput, android.os.OutcomeReceiver).

Summary

Public methods

String getAppPackageName()

The package name of the calling app.

PersistableBundle getAppParams()

The parameters provided by the app to the IsolatedService.

Inherited methods

Public methods

getAppPackageName

Added in API level 35
public String getAppPackageName ()

The package name of the calling app.

Returns
String This value cannot be null.

getAppParams

Added in API level 35
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.