AuthenticationRequiredException(Throwable, PendingIntent) Constructor
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.
Create an instance ready to be thrown.
[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
Parameters
- cause
- Throwable
Throwable: original cause with details designed for engineering audiences.
- userAction
- PendingIntent
PendingIntent: primary action that will initiate the recovery. This must launch an activity that is expected to set Activity.setResult(int) before finishing to communicate the final status of the recovery. For example, apps that observe Activity.RESULT_OK may choose to immediately retry their operation.
- Attributes
Remarks
Create an instance ready to be thrown.
Android reference for android.app.AuthenticationRequiredException.AuthenticationRequiredException.
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.