Language

AccountAuthenticatorResponse.OnError(ErrorCode, String) Method

Definition

[Android.Runtime.Register("onError", "(ILjava/lang/String;)V", "GetOnError_ILjava_lang_String_Handler")]
public virtual void OnError(Android.Accounts.ErrorCode errorCode, string? errorMessage);
[<Android.Runtime.Register("onError", "(ILjava/lang/String;)V", "GetOnError_ILjava_lang_String_Handler")>]
abstract member OnError : Android.Accounts.ErrorCode * string -> unit
override this.OnError : Android.Accounts.ErrorCode * string -> unit

Parameters

errorCode
ErrorCode

An error code corresponding to one of the AccountManager.ERROR_CODE_* constants.

errorMessage
String

A human-readable description of the error.

Attributes

Remarks

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