Udostępnij za pośrednictwem


EuiccManager.StartResolutionActivity Method

Definition

Start an activity to resolve a user-resolvable error.

[Android.Runtime.Register("startResolutionActivity", "(Landroid/app/Activity;ILandroid/content/Intent;Landroid/app/PendingIntent;)V", "GetStartResolutionActivity_Landroid_app_Activity_ILandroid_content_Intent_Landroid_app_PendingIntent_Handler", ApiSince=28)]
public virtual void StartResolutionActivity (Android.App.Activity? activity, int requestCode, Android.Content.Intent? resultIntent, Android.App.PendingIntent? callbackIntent);
[<Android.Runtime.Register("startResolutionActivity", "(Landroid/app/Activity;ILandroid/content/Intent;Landroid/app/PendingIntent;)V", "GetStartResolutionActivity_Landroid_app_Activity_ILandroid_content_Intent_Landroid_app_PendingIntent_Handler", ApiSince=28)>]
abstract member StartResolutionActivity : Android.App.Activity * int * Android.Content.Intent * Android.App.PendingIntent -> unit
override this.StartResolutionActivity : Android.App.Activity * int * Android.Content.Intent * Android.App.PendingIntent -> unit

Parameters

activity
Activity

the calling activity (which should be in the foreground).

requestCode
Int32

an application-specific request code which will be provided to Activity#onActivityResult upon completion. Note that the operation may still be in progress when the resolution activity completes; it is not fully finished until the callback intent is triggered.

resultIntent
Intent

the Intent provided to the initial callback intent which failed with #EMBEDDED_SUBSCRIPTION_RESULT_RESOLVABLE_ERROR.

callbackIntent
PendingIntent

a PendingIntent to launch when the operation completes. This is trigered upon completion of the original operation that required user resolution.

Attributes

Remarks

Start an activity to resolve a user-resolvable error.

If an operation returns #EMBEDDED_SUBSCRIPTION_RESULT_RESOLVABLE_ERROR, this method may be called to prompt the user to resolve the issue.

This method may only be called once for a particular error.

Java documentation for android.telephony.euicc.EuiccManager.startResolutionActivity(android.app.Activity, int, android.content.Intent, android.app.PendingIntent).

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