Udostępnij za pośrednictwem


DevicePolicyManager.InstallSystemUpdateCallback.OnInstallUpdateError Method

Definition

Method invoked when there was an error while installing an update.

[Android.Runtime.Register("onInstallUpdateError", "(ILjava/lang/String;)V", "GetOnInstallUpdateError_ILjava_lang_String_Handler", ApiSince=29)]
public virtual void OnInstallUpdateError (Android.App.Admin.UpdateErrorCode errorCode, string errorMessage);
[<Android.Runtime.Register("onInstallUpdateError", "(ILjava/lang/String;)V", "GetOnInstallUpdateError_ILjava_lang_String_Handler", ApiSince=29)>]
abstract member OnInstallUpdateError : Android.App.Admin.UpdateErrorCode * string -> unit
override this.OnInstallUpdateError : Android.App.Admin.UpdateErrorCode * string -> unit

Parameters

errorCode
UpdateErrorCode
errorMessage
String
Attributes

Remarks

Method invoked when there was an error while installing an update.

The given error message is not intended to be user-facing. It is intended to be reported back to the IT admin to be read.

Java documentation for android.app.admin.DevicePolicyManager.InstallSystemUpdateCallback.onInstallUpdateError(int, java.lang.String).

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