Partager via


Intent.ExtraExcludeComponents Field

Definition

A ComponentName ComponentName[] describing components that should be filtered out and omitted from a list of components presented to the user.

[Android.Runtime.Register("EXTRA_EXCLUDE_COMPONENTS", ApiSince=24)]
public const string ExtraExcludeComponents;
[<Android.Runtime.Register("EXTRA_EXCLUDE_COMPONENTS", ApiSince=24)>]
val mutable ExtraExcludeComponents : string

Field Value

Implements

Attributes

Remarks

A ComponentName ComponentName[] describing components that should be filtered out and omitted from a list of components presented to the user.

When used with #ACTION_CHOOSER, the chooser will omit any of the components in this array if it otherwise would have shown them. Useful for omitting specific targets from your own package or other apps from your organization if the idea of sending to those targets would be redundant with other app functionality. Filtered components will not be able to present targets from an associated ChooserTargetService.

Java documentation for android.content.Intent.EXTRA_EXCLUDE_COMPONENTS.

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