ExecuteOutput.Builder.SetBestValue(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An integer value that an IsolatedService may optionally return to a calling app, by setting this field to the value between 0 and ExecuteInIsolatedServiceRequest.OutputSpec.getMaxIntValue().
[Android.Runtime.Register("setBestValue", "(I)Landroid/adservices/ondevicepersonalization/ExecuteOutput$Builder;", "", ApiSince=36)]
public Android.AdServices.OnDevicePersonalization.ExecuteOutput.Builder SetBestValue(int value);
[<Android.Runtime.Register("setBestValue", "(I)Landroid/adservices/ondevicepersonalization/ExecuteOutput$Builder;", "", ApiSince=36)>]
member this.SetBestValue : int -> Android.AdServices.OnDevicePersonalization.ExecuteOutput.Builder
Parameters
- value
- Int32
Value is 0 or greater
Returns
- Attributes
Remarks
An integer value that an IsolatedService may optionally return to a calling app, by setting this field to the value between 0 and ExecuteInIsolatedServiceRequest.OutputSpec.getMaxIntValue(). The noise will be added to the value of this field before returned to the caller of OnDevicePersonalizationManager.executeInIsolatedService. In order to get this field, the (calling app package, isolated service package) pair must be present in an allowlist that permits data to be returned and ExecuteInIsolatedServiceRequest.OutputSpec.buildBestValueSpec is set.
Android reference for android.adservices.ondevicepersonalization.ExecuteOutput.Builder.setBestValue.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.