PackageInstaller.UnarchivalState.CreateUserActionRequiredState Method
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.
User action is required before commencing with the unarchival for the given unarchiveId.
[Android.Runtime.Register("createUserActionRequiredState", "(ILandroid/app/PendingIntent;)Landroid/content/pm/PackageInstaller$UnarchivalState;", "", ApiSince=35)]
public static Android.Content.PM.PackageInstaller.UnarchivalState CreateUserActionRequiredState(int unarchiveId, Android.App.PendingIntent userActionIntent);
[<Android.Runtime.Register("createUserActionRequiredState", "(ILandroid/app/PendingIntent;)Landroid/content/pm/PackageInstaller$UnarchivalState;", "", ApiSince=35)>]
static member CreateUserActionRequiredState : int * Android.App.PendingIntent -> Android.Content.PM.PackageInstaller.UnarchivalState
Parameters
- unarchiveId
- Int32
the ID provided by the system as part of the intent.action.UNARCHIVE broadcast with EXTRA_UNARCHIVE_ID.
- userActionIntent
- PendingIntent
intent to start a follow up action required to facilitate the unarchival flow (e.g. user needs to log in). This value cannot be null.
Returns
- Attributes
Remarks
User action is required before commencing with the unarchival for the given unarchiveId. E.g., this could be used if it's necessary for the user to sign-in first.
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.