android.adservices.ondevicepersonalization

接口

IsolatedWorker 需要实现的包含方法的接口,用于处理操作系统发送给 IsolatedService 的请求。 
KeyValueStore 一个只读键值存储的接口。 
MutableKeyValueStore 一个读写键值存储的接口。 

AppInfo 关于应用的信息。 
DownloadCompletedInput IsolatedWorker.onDownloadCompleted(android.adservices.ondevicepersonalization.DownloadCompletedInput, java.util.function.Consumer) 的输入数据。 
DownloadCompletedOutput IsolatedWorker.onDownloadCompleted(android.adservices.ondevicepersonalization.DownloadCompletedInput, java.util.function.Consumer) 返回的结果。 
DownloadCompletedOutput.Builder DownloadCompletedOutput 的一个构建器。 
EventInput IsolatedWorker.onEvent(android.adservices.ondevicepersonalization.EventInput, java.util.function.Consumer) 的输入数据。 
EventLogRecord 要记录到 EVENTS 表中的数据。 
EventLogRecord.Builder EventLogRecord 的一个构建器。 
EventOutput IsolatedWorker#onEvent(EventInput, java.util.function.Consumer) 返回的结果。 
EventOutput.Builder EventOutput 的一个构建器。 
EventUrlProvider 为请求生成事件跟踪网址。 
ExecuteInput IsolatedWorker#onExecute(ExecuteInput, java.util.function.Consumer) 的输入数据。 
ExecuteOutput IsolatedWorker#onExecute(ExecuteInput, java.util.function.Consumer) 返回的结果,响应客户端应用调用 OnDevicePersonalizationManager#execute(ComponentName, PersistableBundle, java.util.concurrent.Executor, OutcomeReceiver) 的结果。 
ExecuteOutput.Builder ExecuteOutput 的一个构建器。 
FederatedComputeInput FederatedComputeScheduler#schedule(FederatedComputeScheduler.Params, FederatedComputeInput) 的输入数据。 
FederatedComputeInput.Builder FederatedComputeInput 的一个构建器。 
FederatedComputeScheduler 处理调度联邦学习和联邦分析作业。 
FederatedComputeScheduler.Params 与作业调度相关的参数。 
IsolatedService 由 ODP 在调用 OnDevicePersonalizationManager#execute(ComponentName, PersistableBundle, java.util.concurrent.Executor, OutcomeReceiver) 时启动并在 isolated process 中运行的服务的基类。 
LogReader 从 REQUESTS 和 EVENTS 中读取日志的接口。用作 REQUESTS 和 EVENTS 表的数据访问对象。 
OnDevicePersonalizationManager OnDevicePersonalizationManager 提供了 API,供应用在独立的进程中加载 IsolatedService 并与其交互。 
RenderingConfig IsolatedWorker#onExecute(ExecuteInput, java.util.function.Consumer) 返回的信息,在后续调用 IsolatedWorker#onRender(RenderInput, java.util.function.Consumer) 时使用,用于标识将在单个 View 中显示的内容。 
RenderingConfig.Builder RenderingConfig 的一个构建器。 
RenderInput IsolatedWorker#onRender(RenderInput, java.util.function.Consumer) 的输入数据。 
RenderOutput IsolatedWorker#onRender(RenderInput, java.util.function.Consumer) 返回的结果。 
RenderOutput.Builder RenderOutput 的一个构建器。 
RequestLogRecord 包含在调用 IsolatedWorker#onExecute(ExecuteInput, java.util.function.Consumer) 结束时将写入 REQUESTS 表的数据。 
RequestLogRecord.Builder RequestLogRecord 的一个构建器。 
RequestToken 标识对 IsolatedService 的当前请求的不透明令牌。 
SurfacePackageToken 对可以在 SurfaceView 中显示的内容的不透明引用。 
TrainingExampleInput IsolatedWorker#onTrainingExample(TrainingExampleInput, Consumer) 的输入数据。 
TrainingExampleOutput IsolatedWorker#onTrainingExample(TrainingExampleInput, Consumer) 的输出数据。 
TrainingExampleOutput.Builder TrainingExampleOutput 的一个构建器。 
TrainingInterval 联邦计算作业所需的训练间隔设置。 
TrainingInterval.Builder TrainingInterval 的一个构建器。 
UserData 平台提供给 IsolatedService 的用户数据。 

异常

OnDevicePersonalizationException OnDevicePersonalization API 抛出的异常。