DevicePolicyManager.InstallSystemUpdateCallback.OnInstallUpdateError Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.