ExecuteInIsolatedServiceRequest.OutputSpec.BuildBestValueSpec(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.
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.
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.