Language

WebAppInstallRequest.ResultPermissionDenied Field

Definition

Caution

This constant will be removed in the future version. Use Android.Content.PM.Webapp.WebAppInstallResultCode enum directly instead of this field.

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

[Android.Runtime.Register("RESULT_PERMISSION_DENIED", ApiSince=37)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.Webapp.WebAppInstallResultCode enum directly instead of this field.", true)]
public const Android.Content.PM.Webapp.WebAppInstallResultCode ResultPermissionDenied = 3;
[<Android.Runtime.Register("RESULT_PERMISSION_DENIED", ApiSince=37)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.Webapp.WebAppInstallResultCode enum directly instead of this field.", true)>]
val mutable ResultPermissionDenied : Android.Content.PM.Webapp.WebAppInstallResultCode

Field Value

Value = 3
Attributes

Remarks

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.

Applies to