Compartir a través de


RecoverableSecurityException Constructors

Definition

Overloads

RecoverableSecurityException(Throwable, ICharSequence, RemoteAction)

Create an instance ready to be thrown.

RecoverableSecurityException(Throwable, String, RemoteAction)

RecoverableSecurityException(Throwable, ICharSequence, RemoteAction)

Create an instance ready to be thrown.

[Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;Ljava/lang/CharSequence;Landroid/app/RemoteAction;)V", "", ApiSince=29)]
public RecoverableSecurityException (Java.Lang.Throwable cause, Java.Lang.ICharSequence userMessage, Android.App.RemoteAction userAction);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;Ljava/lang/CharSequence;Landroid/app/RemoteAction;)V", "", ApiSince=29)>]
new Android.App.RecoverableSecurityException : Java.Lang.Throwable * Java.Lang.ICharSequence * Android.App.RemoteAction -> Android.App.RecoverableSecurityException

Parameters

cause
Throwable

original cause with details designed for engineering audiences.

userMessage
ICharSequence

short message describing the issue for end user audiences, which may be shown in a notification or dialog. This should be localized and less than 64 characters. For example: <em>PIN required to access Document.pdf</em>

userAction
RemoteAction

primary action that will initiate the recovery. The title should be localized and less than 24 characters. For example: <em>Enter PIN</em>. This action 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.

Java documentation for android.app.RecoverableSecurityException.RecoverableSecurityException(java.lang.Throwable, java.lang.CharSequence, android.app.RemoteAction).

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

RecoverableSecurityException(Throwable, String, RemoteAction)

[Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;Ljava/lang/CharSequence;Landroid/app/RemoteAction;)V", "", ApiSince=29)]
public RecoverableSecurityException (Java.Lang.Throwable cause, string userMessage, Android.App.RemoteAction userAction);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;Ljava/lang/CharSequence;Landroid/app/RemoteAction;)V", "", ApiSince=29)>]
new Android.App.RecoverableSecurityException : Java.Lang.Throwable * string * Android.App.RemoteAction -> Android.App.RecoverableSecurityException

Parameters

cause
Throwable
userMessage
String
userAction
RemoteAction
Attributes

Applies to