Language

ApplicationInfo.GetCategoryTitle(Context, ApplicationCategories) Method

Definition

Return a concise, localized title for the given ApplicationInfo#category value, or null for unknown values such as #CATEGORY_UNDEFINED.

public static string? GetCategoryTitle(Android.Content.Context? context, Android.Content.PM.ApplicationCategories category);
static member GetCategoryTitle : Android.Content.Context * Android.Content.PM.ApplicationCategories -> string

Parameters

context
Context

The context used to load the category's localized string resource.

category
ApplicationCategories

The application category whose title is requested.

Returns

The recognized category's localized title as a string, or null for an unrecognized category.

Remarks

Return a concise, localized title for the given ApplicationInfo#category value, or null for unknown values such as #CATEGORY_UNDEFINED.

Java documentation for android.content.pm.ApplicationInfo.getCategoryTitle(android.content.Context, 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