Added in API level 35

OnDevicePersonalizationException


open class OnDevicePersonalizationException : Exception
kotlin.Any
   ↳ kotlin.Throwable
   ↳ java.lang.Exception
   ↳ android.adservices.ondevicepersonalization.OnDevicePersonalizationException

Exception thrown by OnDevicePersonalization APIs.

Summary

Constants
static Int

The IsolatedService that was invoked failed to run.

static Int

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

Public methods
open Int

Returns the error code for this exception.

Constants

ERROR_ISOLATED_SERVICE_FAILED

Added in API level 35
static val ERROR_ISOLATED_SERVICE_FAILED: Int

The IsolatedService that was invoked failed to run.

Value: 1

ERROR_PERSONALIZATION_DISABLED

Added in API level 35
static val ERROR_PERSONALIZATION_DISABLED: Int

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

Value: 2

Public methods