Added in API level 35

ExecuteResult


open class ExecuteResult
kotlin.Any
   ↳ android.adservices.ondevicepersonalization.OnDevicePersonalizationManager.ExecuteResult

The result of a call to OnDevicePersonalizationManager.execute(ComponentName,

Summary

Public methods
open ByteArray?

Returns the output data that was returned by the IsolatedService.

open SurfacePackageToken?

Returns a SurfacePackageToken, which is an opaque reference to content that can be displayed in a android.view.SurfaceView.

Public methods

getOutputData

Added in API level 35
open fun getOutputData(): ByteArray?

Returns the output data that was returned by the IsolatedService. This will be non-null if the IsolatedService returns any results to the caller, and the egress of data from the IsolatedService to the specific calling app is allowed by policy as well as an allowlist.

getSurfacePackageToken

Added in API level 35
open fun getSurfacePackageToken(): SurfacePackageToken?

Returns a SurfacePackageToken, which is an opaque reference to content that can be displayed in a android.view.SurfaceView. This may be null if the IsolatedService has not generated any content to be displayed within the calling app.