Language

ExecuteInIsolatedServiceRequest.OutputSpec.BuildBestValueSpec(Int32) Method

Definition

Creates the output spec to get best value out of maxIntValue.

[Android.Runtime.Register("buildBestValueSpec", "(I)Landroid/adservices/ondevicepersonalization/ExecuteInIsolatedServiceRequest$OutputSpec;", "", ApiSince=36)]
public static Android.AdServices.OnDevicePersonalization.ExecuteInIsolatedServiceRequest.OutputSpec BuildBestValueSpec(int maxIntValue);
[<Android.Runtime.Register("buildBestValueSpec", "(I)Landroid/adservices/ondevicepersonalization/ExecuteInIsolatedServiceRequest$OutputSpec;", "", ApiSince=36)>]
static member BuildBestValueSpec : int -> Android.AdServices.OnDevicePersonalization.ExecuteInIsolatedServiceRequest.OutputSpec

Parameters

maxIntValue
Int32

the maximum value IsolatedWorker can return to caller app. Value is 0 or greater

Returns

Attributes

Remarks

Creates the output spec to get best value out of maxIntValue. If set this, caller can call ExecuteInIsolatedServiceResponse.getBestValue to get result.

Android reference for android.adservices.ondevicepersonalization.ExecuteInIsolatedServiceRequest.OutputSpec.buildBestValueSpec.

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