PackageInstaller.ReportUnarchivalStatus 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.
Reports the status of an unarchival to the system.
[Android.Runtime.Register("reportUnarchivalStatus", "(IIJLandroid/app/PendingIntent;)V", "GetReportUnarchivalStatus_IIJLandroid_app_PendingIntent_Handler", ApiSince=35)]
public virtual void ReportUnarchivalStatus (int unarchiveId, Android.Content.PM.PackageInstallerUnarchival status, long requiredStorageBytes, Android.App.PendingIntent? userActionIntent);
[<Android.Runtime.Register("reportUnarchivalStatus", "(IIJLandroid/app/PendingIntent;)V", "GetReportUnarchivalStatus_IIJLandroid_app_PendingIntent_Handler", ApiSince=35)>]
abstract member ReportUnarchivalStatus : int * Android.Content.PM.PackageInstallerUnarchival * int64 * Android.App.PendingIntent -> unit
override this.ReportUnarchivalStatus : int * Android.Content.PM.PackageInstallerUnarchival * int64 * Android.App.PendingIntent -> unit
Parameters
- unarchiveId
- Int32
the ID provided by the system as part of the intent.action.UNARCHIVE broadcast with EXTRA_UNARCHIVE_ID.
- status
- PackageInstallerUnarchival
is used for the system to provide the user with necessary follow-up steps or errors.
- requiredStorageBytes
- Int64
If the error is UNARCHIVAL_ERROR_INSUFFICIENT_STORAGE this field should be set to specify how many additional bytes of storage are required to unarchive the app.
- userActionIntent
- PendingIntent
Optional intent to start a follow up action required to facilitate the unarchival flow (e.g. user needs to log in).
- Attributes
Remarks
Reports the status of an unarchival to the system.
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.