Share via


ExecuteOutput.BestValue Property

Definition

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().

public int BestValue { [Android.Runtime.Register("getBestValue", "()I", "", ApiSince=36)] get; }
[<get: Android.Runtime.Register("getBestValue", "()I", "", ApiSince=36)>]
member this.BestValue : int

Property Value

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.

Java documentation for android.adservices.ondevicepersonalization.ExecuteOutput.getBestValue().

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.

Applies to