Share via


ExecuteInIsolatedServiceResponse.BestValue Property

Definition

Returns the int value that was returned by the IsolatedService and applied noise.

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

Property Value

Attributes

Remarks

Returns the int value that was returned by the IsolatedService and applied noise. If ExecuteInIsolatedServiceRequest output type is set to ExecuteInIsolatedServiceRequest.OutputSpec#OUTPUT_TYPE_NULL, the platform ignores the data returned by IsolatedService and returns the default value #DEFAULT_BEST_VALUE. If ExecuteInIsolatedServiceRequest output type is set to ExecuteInIsolatedServiceRequest.OutputSpec#OUTPUT_TYPE_BEST_VALUE, the platform validates ExecuteOutput#getBestValue between 0 and ExecuteInIsolatedServiceRequest.OutputSpec#getMaxIntValue() and applies noise to result.

Java documentation for android.adservices.ondevicepersonalization.ExecuteInIsolatedServiceResponse.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