Language

OnDevicePersonalizationException Constructors

Definition

Overloads

OnDevicePersonalizationException(Int32)

[Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=36)]
public OnDevicePersonalizationException(int errorCode);
[<Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=36)>]
new Android.AdServices.OnDevicePersonalization.OnDevicePersonalizationException : int -> Android.AdServices.OnDevicePersonalization.OnDevicePersonalizationException

Parameters

errorCode
Int32

Value is one of the following: ERROR_ISOLATED_SERVICE_FAILED; ERROR_PERSONALIZATION_DISABLED; ERROR_ISOLATED_SERVICE_LOADING_FAILED; ERROR_ISOLATED_SERVICE_MANIFEST_PARSING_FAILED; ERROR_ISOLATED_SERVICE_TIMEOUT; ERROR_SCHEDULE_TRAINING_FAILED; ERROR_INVALID_TRAINING_MANIFEST; ERROR_INFERENCE_MODEL_NOT_FOUND; ERROR_INFERENCE_FAILED

Attributes

Remarks

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

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

OnDevicePersonalizationException(Int32, Throwable)

[Android.Runtime.Register(".ctor", "(ILjava/lang/Throwable;)V", "", ApiSince=36)]
public OnDevicePersonalizationException(int errorCode, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/Throwable;)V", "", ApiSince=36)>]
new Android.AdServices.OnDevicePersonalization.OnDevicePersonalizationException : int * Java.Lang.Throwable -> Android.AdServices.OnDevicePersonalization.OnDevicePersonalizationException

Parameters

errorCode
Int32

Value is one of the following: ERROR_ISOLATED_SERVICE_FAILED; ERROR_PERSONALIZATION_DISABLED; ERROR_ISOLATED_SERVICE_LOADING_FAILED; ERROR_ISOLATED_SERVICE_MANIFEST_PARSING_FAILED; ERROR_ISOLATED_SERVICE_TIMEOUT; ERROR_SCHEDULE_TRAINING_FAILED; ERROR_INVALID_TRAINING_MANIFEST; ERROR_INFERENCE_MODEL_NOT_FOUND; ERROR_INFERENCE_FAILED

cause
Throwable
Attributes

Remarks

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

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

OnDevicePersonalizationException(Int32, String)

[Android.Runtime.Register(".ctor", "(ILjava/lang/String;)V", "", ApiSince=36)]
public OnDevicePersonalizationException(int errorCode, string? message);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/String;)V", "", ApiSince=36)>]
new Android.AdServices.OnDevicePersonalization.OnDevicePersonalizationException : int * string -> Android.AdServices.OnDevicePersonalization.OnDevicePersonalizationException

Parameters

errorCode
Int32

Value is one of the following: ERROR_ISOLATED_SERVICE_FAILED; ERROR_PERSONALIZATION_DISABLED; ERROR_ISOLATED_SERVICE_LOADING_FAILED; ERROR_ISOLATED_SERVICE_MANIFEST_PARSING_FAILED; ERROR_ISOLATED_SERVICE_TIMEOUT; ERROR_SCHEDULE_TRAINING_FAILED; ERROR_INVALID_TRAINING_MANIFEST; ERROR_INFERENCE_MODEL_NOT_FOUND; ERROR_INFERENCE_FAILED

message
String
Attributes

Remarks

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

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

OnDevicePersonalizationException(IntPtr, JniHandleOwnership)

protected OnDevicePersonalizationException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.AdServices.OnDevicePersonalization.OnDevicePersonalizationException : nativeint * Android.Runtime.JniHandleOwnership -> Android.AdServices.OnDevicePersonalization.OnDevicePersonalizationException

Parameters

javaReference
IntPtr

nativeint

Applies to

OnDevicePersonalizationException(Int32, String, Throwable)

[Android.Runtime.Register(".ctor", "(ILjava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=36)]
public OnDevicePersonalizationException(int errorCode, string? message, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=36)>]
new Android.AdServices.OnDevicePersonalization.OnDevicePersonalizationException : int * string * Java.Lang.Throwable -> Android.AdServices.OnDevicePersonalization.OnDevicePersonalizationException

Parameters

errorCode
Int32

Value is one of the following: ERROR_ISOLATED_SERVICE_FAILED; ERROR_PERSONALIZATION_DISABLED; ERROR_ISOLATED_SERVICE_LOADING_FAILED; ERROR_ISOLATED_SERVICE_MANIFEST_PARSING_FAILED; ERROR_ISOLATED_SERVICE_TIMEOUT; ERROR_SCHEDULE_TRAINING_FAILED; ERROR_INVALID_TRAINING_MANIFEST; ERROR_INFERENCE_MODEL_NOT_FOUND; ERROR_INFERENCE_FAILED

message
String
cause
Throwable
Attributes

Remarks

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

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