Android.Content.PM.PackageManager.GetComponentEnabledSetting Method
Return the enabled setting for a package component (activity, receiver, service, provider).

Syntax

[Android.Runtime.Register("getComponentEnabledSetting", "(Landroid/content/ComponentName;)I", "GetGetComponentEnabledSetting_Landroid_content_ComponentName_Handler")]
public abstract ComponentEnabledState GetComponentEnabledSetting (Android.Content.ComponentName componentName)

Parameters

componentName
The component to retrieve.

Returns

Documentation for this section has not yet been entered.

Remarks

Return the enabled setting for a package component (activity, receiver, service, provider). This returns the last value set by PackageManager.SetComponentEnabledSetting(Android.Content.ComponentName, Android.Content.PM.ComponentEnabledState, Android.Content.PM.ComponentEnabledState); in most cases this value will be PackageManager.COMPONENT_ENABLED_STATE_DEFAULT since the value originally specified in the manifest has not been modified.

[Android Documentation]

Requirements

Namespace: Android.Content.PM
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1