语言

ExecuteOutput.GetOutputData 方法

定义

通过将此字段设置为非 null 值,可以选择返回调用应用的字节数组 IsolatedService 。

[Android.Runtime.Register("getOutputData", "()[B", "", ApiSince=35)]
public byte[]? GetOutputData();
[<Android.Runtime.Register("getOutputData", "()[B", "", ApiSince=35)>]
member this.GetOutputData : unit -> byte[]

返回

Byte[]
特性

注解

通过将此字段设置为非 null 值,可以选择返回调用应用的字节数组 IsolatedService 。 如果策略允许从隔离进程返回数据,并且允许(调用应用包、独立服务包)对出现在允许返回数据的允许列表中,则此数组的内容将返回到调用方 OnDevicePersonalizationManager#execute 。

Java文档android.adservices.ondevicepersonalization.ExecuteOutput.getOutputData()。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于