Android.Test.Mock.MockPackageManager.GetApplicationEnabledSetting Method
Return the enabled setting for an application.

Syntax

[Android.Runtime.Register("getApplicationEnabledSetting", "(Ljava/lang/String;)I", "GetGetApplicationEnabledSetting_Ljava_lang_String_Handler")]
[return:Android.Runtime.GeneratedEnum]
public override Android.Content.PM.ComponentEnabledState GetApplicationEnabledSetting (string packageName)

Parameters

packageName
The package name of the application to retrieve.

Returns

Documentation for this section has not yet been entered.

Remarks

Return the enabled setting for an application. This returns the last value set by Android.Content.PM.PackageManager.SetApplicationEnabledSetting(string, Android.Content.PM.ComponentEnabledState, Android.Content.PM.ComponentEnabledState); in most cases this value will be Android.Content.PM.PackageManager.COMPONENT_ENABLED_STATE_DEFAULT since the value originally specified in the manifest has not been modified.

[Android Documentation]

Requirements

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