Share via


PackageManager.ComponentEnabledSetting(ComponentName, Int32, Int32) Constructor

Definition

Create an instance of the ComponentEnabledSetting for the component level's enabled setting update.

[Android.Runtime.Register(".ctor", "(Landroid/content/ComponentName;II)V", "", ApiSince=33)]
public ComponentEnabledSetting (Android.Content.ComponentName componentName, int newState, int flags);
[<Android.Runtime.Register(".ctor", "(Landroid/content/ComponentName;II)V", "", ApiSince=33)>]
new Android.Content.PM.PackageManager.ComponentEnabledSetting : Android.Content.ComponentName * int * int -> Android.Content.PM.PackageManager.ComponentEnabledSetting

Parameters

componentName
ComponentName

The component name to update the enabled setting.

newState
Int32

The new enabled state.

flags
Int32

The optional behavior flags.

Attributes

Remarks

Create an instance of the ComponentEnabledSetting for the component level's enabled setting update.

Java documentation for android.content.pm.PackageManager.ComponentEnabledSetting.PackageManager$ComponentEnabledSetting(android.content.ComponentName, int, int).

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