Język

OnDevicePersonalizationError Enum

Definition

public enum OnDevicePersonalizationError
type OnDevicePersonalizationError = 
Inheritance
OnDevicePersonalizationError

Fields

Name Value Description
IsolatedServiceFailed 1

The IsolatedService that was invoked failed to run.

Android reference for android.adservices.ondevicepersonalization.OnDevicePersonalizationException.ERROR_ISOLATED_SERVICE_FAILED.

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.

PersonalizationDisabled 2

The IsolatedService was not started because personalization is disabled by device configuration.

Android reference for android.adservices.ondevicepersonalization.OnDevicePersonalizationException.ERROR_PERSONALIZATION_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.

IsolatedServiceLoadingFailed 3

The ODP module was unable to load the IsolatedService.

Retrying may be successful for platform internal errors.

Android reference for android.adservices.ondevicepersonalization.OnDevicePersonalizationException.ERROR_ISOLATED_SERVICE_LOADING_FAILED.

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.

IsolatedServiceManifestParsingFailed 4

The ODP specific manifest settings for the IsolatedService are either missing or misconfigured.

Android reference for android.adservices.ondevicepersonalization.OnDevicePersonalizationException.ERROR_ISOLATED_SERVICE_MANIFEST_PARSING_FAILED.

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.

IsolatedServiceTimeout 5

The IsolatedService was invoked but timed out before returning successfully.

This is likely due to an issue with the IsolatedWorker implementation taking too long and retries are likely to fail.

Android reference for android.adservices.ondevicepersonalization.OnDevicePersonalizationException.ERROR_ISOLATED_SERVICE_TIMEOUT.

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.

ScheduleTrainingFailed 6

The IsolatedService's call to FederatedComputeScheduler.schedule failed.

Retrying may be successful if the issue is due to a platform internal error.

Android reference for android.adservices.ondevicepersonalization.OnDevicePersonalizationException.ERROR_SCHEDULE_TRAINING_FAILED.

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.

InvalidTrainingManifest 7

The IsolatedService's call to FederatedComputeScheduler.schedule failed due to missing or misconfigured federated compute settings URL in the manifest.

Android reference for android.adservices.ondevicepersonalization.OnDevicePersonalizationException.ERROR_INVALID_TRAINING_MANIFEST.

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.

InferenceModelNotFound 8

Inference failed due to ModelManager not finding the downloaded model.

Android reference for android.adservices.ondevicepersonalization.OnDevicePersonalizationException.ERROR_INFERENCE_MODEL_NOT_FOUND.

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.

InferenceFailed 9

ModelManager failed to run inference.

Retrying may be successful if the issue is due to a platform internal error.

Android reference for android.adservices.ondevicepersonalization.OnDevicePersonalizationException.ERROR_INFERENCE_FAILED.

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