Language

OnDevicePersonalizationFeature Enum

Definition

Identifies the availability status of an On-Device Personalization feature.

public enum OnDevicePersonalizationFeature
type OnDevicePersonalizationFeature = 
Inheritance
OnDevicePersonalizationFeature

Fields

Name Value Description
Enabled 0

Indicates that a feature is present and enabled on the device.

Android reference for android.adservices.ondevicepersonalization.OnDevicePersonalizationManager.FEATURE_ENABLED.

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.

Disabled 1

Indicates that a feature is present but disabled on the device.

Android reference for android.adservices.ondevicepersonalization.OnDevicePersonalizationManager.FEATURE_DISABLED.

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.

Unsupported 2

Indicates that a feature is not supported on the device.

Android reference for android.adservices.ondevicepersonalization.OnDevicePersonalizationManager.FEATURE_UNSUPPORTED.

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 FEATURE_ constants in Android's OnDevicePersonalizationManager. The Feature fields of OnDevicePersonalizationManager use this type. QueryFeatureAvailability(String, IExecutor, IOutcomeReceiver) sends the status to its receiver as an integer. See the feature status constants.

Applies to