Langue

WebAppInstallResultCode Enum

Definition

public enum WebAppInstallResultCode
type WebAppInstallResultCode = 
Inheritance
WebAppInstallResultCode

Fields

Name Value Description
Success 0

The installation completed successfully.

Android reference for android.content.pm.webapp.WebAppInstallRequest.RESULT_SUCCESS.

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.

NetworkError 1

The installation failed due to network connectivity issues or timeout.

Android reference for android.content.pm.webapp.WebAppInstallRequest.RESULT_NETWORK_ERROR.

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.

InternalError 2

The installation failed due to an internal system error.

Android reference for android.content.pm.webapp.WebAppInstallRequest.RESULT_INTERNAL_ERROR.

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.

PermissionDenied 3

The calling app does not have the necessary permission to install Web Apps.

The caller must be eligible to hold the RoleManager.ROLE_BROWSER role.

Android reference for android.content.pm.webapp.WebAppInstallRequest.RESULT_PERMISSION_DENIED.

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.

DuplicatedRequest 4

An installation request for the same Web App is already in progress.

Android reference for android.content.pm.webapp.WebAppInstallRequest.RESULT_DUPLICATED_REQUEST.

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.

InvalidArguments 5

The provided arguments (e.g., manifest URL) are invalid.

Android reference for android.content.pm.webapp.WebAppInstallRequest.RESULT_INVALID_ARGUMENTS.

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.

CancelledByUser 6

The installation was cancelled by the user.

Android reference for android.content.pm.webapp.WebAppInstallRequest.RESULT_CANCELLED_BY_USER.

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.

SecurityError 7

The installation was blocked due to security check failures.

Android reference for android.content.pm.webapp.WebAppInstallRequest.RESULT_SECURITY_ERROR.

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.

Unavailable 8

The installation failed due to the service being unavailable.

Android reference for android.content.pm.webapp.WebAppInstallRequest.RESULT_UNAVAILABLE.

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.

Unknown 9

The installation result is unknown.

Android reference for android.content.pm.webapp.WebAppInstallRequest.RESULT_UNKNOWN.

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