PermissionInfo.FlagImmutablyRestricted Field
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.
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 immutablyRestricted
value of android.R.attr#permissionFlags
.
[Android.Runtime.Register("FLAG_IMMUTABLY_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 FlagImmutablyRestricted = 16;
[<Android.Runtime.Register("FLAG_IMMUTABLY_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 FlagImmutablyRestricted : Android.Content.PM.PermissionInfoFlags
Field Value
Value = 16Implements
- Attributes
Remarks
Flag for #flags
, corresponding to immutablyRestricted
value of android.R.attr#permissionFlags
.
This permission is restricted immutably which means that its restriction state may be specified only on the first install of the app and will stay in this initial allowlist state until the app is uninstalled.
Java documentation for android.content.pm.PermissionInfo.FLAG_IMMUTABLY_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.