ExecuteOutput.BestValue 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
通过将此字段设置为介于 0 到 IsolatedService0 之间的值,可以选择ExecuteInIsolatedServiceRequest.OutputSpec#getMaxIntValue()返回调用应用的整数值。
public int BestValue { [Android.Runtime.Register("getBestValue", "()I", "", ApiSince=36)] get; }
[<get: Android.Runtime.Register("getBestValue", "()I", "", ApiSince=36)>]
member this.BestValue : int
属性值
值ExecuteInIsolatedServiceResponse.DEFAULT_BEST_VALUE或更大
- 特性
注解
通过将此字段设置为介于 0 到 IsolatedService0 之间的值,可以选择ExecuteInIsolatedServiceRequest.OutputSpec#getMaxIntValue()返回调用应用的整数值。 平台可能会向此字段的值添加干扰,然后再将其返回给调用方 OnDevicePersonalizationManager#executeInIsolatedService。 若要获取此字段,必须在允许返回和 ExecuteInIsolatedServiceRequest.OutputSpec#buildBestValueSpec 设置数据的允许列表中存在(调用应用包、独立服务包)对。
Java文档android.adservices.ondevicepersonalization.ExecuteOutput.getBestValue()。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。