Share via


PermissionInfo.FlagSoftRestricted Field

Definition

Caution

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

Flag for #flags, corresponding to softRestricted value of android.R.attr#permissionFlags.

[Android.Runtime.Register("FLAG_SOFT_RESTRICTED", ApiSince=29)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.PermissionInfoFlags enum directly instead of this field.", true)]
public const Android.Content.PM.PermissionInfoFlags FlagSoftRestricted = 8;
[<Android.Runtime.Register("FLAG_SOFT_RESTRICTED", ApiSince=29)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.PermissionInfoFlags enum directly instead of this field.", true)>]
val mutable FlagSoftRestricted : Android.Content.PM.PermissionInfoFlags

Field Value

Value = 8

Implements

Attributes

Remarks

Flag for #flags, corresponding to softRestricted value of android.R.attr#permissionFlags.

This permission is restricted by the platform and it would be grantable in its full form to apps that meet special criteria per platform policy. Otherwise, a weaker form of the permission would be granted. The weak grant depends on the permission.

Java documentation for android.content.pm.PermissionInfo.FLAG_SOFT_RESTRICTED.

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