Lenguaje

AuthenticationRequiredException(Throwable, PendingIntent) Constructor

Definición

Cree una instancia lista para iniciarse.

[Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;Landroid/app/PendingIntent;)V", "", ApiSince=26)]
public AuthenticationRequiredException(Java.Lang.Throwable? cause, Android.App.PendingIntent? userAction);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;Landroid/app/PendingIntent;)V", "", ApiSince=26)>]
new Android.App.AuthenticationRequiredException : Java.Lang.Throwable * Android.App.PendingIntent -> Android.App.AuthenticationRequiredException

Parámetros

cause
Throwable

causa original con detalles diseñados para audiencias de ingeniería.

userAction
PendingIntent

acción principal que iniciará la recuperación. Debe iniciar una actividad que se espera que se establezca Activity#setResult(int) antes de finalizar para comunicar el estado final de la recuperación. Por ejemplo, las aplicaciones que observen Activity#RESULT_OK pueden optar por volver a intentar inmediatamente su operación.

Atributos

Comentarios

Cree una instancia lista para iniciarse.

Referencia de Android para android.app.AuthenticationRequiredException.AuthenticationRequiredException.

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a