Added in API level 35

ExecuteInput


class ExecuteInput
kotlin.Any
   ↳ android.adservices.ondevicepersonalization.ExecuteInput

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

Summary

Public methods
String

The package name of the calling app.

PersistableBundle

The parameters provided by the app to the IsolatedService.

Public methods

getAppPackageName

Added in API level 35
fun getAppPackageName(): String

The package name of the calling app.

Return
String This value cannot be null.

getAppParams

Added in API level 35
fun getAppParams(): PersistableBundle

The parameters provided by the app to the IsolatedService. The service defines the expected keys in this PersistableBundle.

Return
PersistableBundle This value cannot be null.