ApplicationInfo.Category Property

Definition

The category of this app.

[Android.Runtime.GeneratedEnum]
[Android.Runtime.Register("category", ApiSince=26)]
public Android.Content.PM.ApplicationCategories Category { get; set; }
[<Android.Runtime.GeneratedEnum>]
[<Android.Runtime.Register("category", ApiSince=26)>]
member this.Category : Android.Content.PM.ApplicationCategories with get, set

Property Value

Attributes

Remarks

The category of this app. Categories are used to cluster multiple apps together into meaningful groups, such as when summarizing battery, network, or disk usage. Apps should only define this value when they fit well into one of the specific categories. Set from the R.attr.appCategory attribute in the manifest. If the manifest doesn't define a category, this value may have been provided by the installer via PackageManager.setApplicationCategoryHint(String,int).

Android reference for android.content.pm.ApplicationInfo.category.

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