Language

OutputType Enum

Definition

Identifies whether the caller requests a best value from an IsolatedService.

public enum OutputType
type OutputType = 
Inheritance
OutputType

Fields

Name Value Description
Null 0

The default value of OutputType. If set, the platform ignores the service's best value and returns the default best value.

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

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.

BestValue 1

Requests a best value from the isolated service. The result is an integer index into the best values passed in the request's app params. The platform may add noise before returning it.

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

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.

Remarks

The values correspond to the OUTPUT_TYPE_* constants in Android's ExecuteInIsolatedServiceRequest.OutputSpec. With the null output type, the platform ignores the service's best value. With the best value output type, the platform may return the best value and may add noise to it.

Applies to