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 constructors | |
---|---|
ExecuteInput(appPackageName: String, appParams: PersistableBundle) Creates an |
Public methods | |
---|---|
String |
The package name of the calling app. |
PersistableBundle |
The parameters provided by the app to the |
Public constructors
ExecuteInput
Added in API level Baklava
ExecuteInput(
appPackageName: String,
appParams: PersistableBundle)
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
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 . |