Partager via


Intent.CategoryDefault Field

Definition

Set if the activity should be an option for the default action (center press) to perform on a piece of data.

[Android.Runtime.Register("CATEGORY_DEFAULT")]
public const string CategoryDefault;
[<Android.Runtime.Register("CATEGORY_DEFAULT")>]
val mutable CategoryDefault : string

Field Value

Implements

Attributes

Remarks

Set if the activity should be an option for the default action (center press) to perform on a piece of data. Setting this will hide from the user any activities without it set when performing an action on some data. Note that this is normally -not- set in the Intent when initiating an action -- it is for use in intent filters specified in packages.

Java documentation for android.content.Intent.CATEGORY_DEFAULT.

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