Android.Content.PM.ComponentEnabledState Enumeration
Enumerates values returned by several types and taken as a parameter of several types.

Syntax

public enum ComponentEnabledState

Remarks

Enumerates values returned by the following: and taken as a parameter of the following: .

Members

Member NameDescription
DefaultFlag for PackageManager.SetApplicationEnabledSetting(string, Android.Content.PM.ComponentEnabledState, Android.Content.PM.ComponentEnabledState) and PackageManager.SetComponentEnabledSetting(Android.Content.ComponentName, Android.Content.PM.ComponentEnabledState, Android.Content.PM.ComponentEnabledState): This component or application is in its default enabled state (as specified in its manifest).
DisabledFlag for PackageManager.SetApplicationEnabledSetting(string, Android.Content.PM.ComponentEnabledState, Android.Content.PM.ComponentEnabledState) and PackageManager.SetComponentEnabledSetting(Android.Content.ComponentName, Android.Content.PM.ComponentEnabledState, Android.Content.PM.ComponentEnabledState): This component or application has been explicitly disabled, regardless of what it has specified in its manifest.
DisabledUntilUsedFlag for PackageManager.SetApplicationEnabledSetting(string, Android.Content.PM.ComponentEnabledState, Android.Content.PM.ComponentEnabledState) only: This application should be considered, until the point where the user actually wants to use it. This means that it will not normally show up to the user (such as in the launcher), but various parts of the user interface can use PackageInfoFlags.DisabledUntilUsedComponents to still see it and allow the user to select it (as for example an IME, device admin, etc). Such code, once the user has selected the app, should at that point also make it enabled. This option currently can not be used with PackageManager.SetComponentEnabledSetting(Android.Content.ComponentName, Android.Content.PM.ComponentEnabledState, Android.Content.PM.ComponentEnabledState).
DisabledUserFlag for PackageManager.SetApplicationEnabledSetting(string, Android.Content.PM.ComponentEnabledState, Android.Content.PM.ComponentEnabledState) only: The user has explicitly disabled the application, regardless of what it has specified in its manifest. Because this is due to the user's request, they may re-enable it if desired through the appropriate system UI. This option currently cannot be used with PackageManager.SetComponentEnabledSetting(Android.Content.ComponentName, Android.Content.PM.ComponentEnabledState, Android.Content.PM.ComponentEnabledState).
EnabledFlag for PackageManager.SetApplicationEnabledSetting(string, Android.Content.PM.ComponentEnabledState, Android.Content.PM.ComponentEnabledState) and PackageManager.SetComponentEnabledSetting(Android.Content.ComponentName, Android.Content.PM.ComponentEnabledState, Android.Content.PM.ComponentEnabledState): This component or application has been explictily enabled, regardless of what it has specified in its manifest.

Requirements

Namespace: Android.Content.PM
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0