PackageManager.SetApplicationCategoryHint(String, Int32) Method

Definition

Provide a hint of what the ApplicationInfo#category value should be for the given package.

[Android.Runtime.Register("setApplicationCategoryHint", "(Ljava/lang/String;I)V", "GetSetApplicationCategoryHint_Ljava_lang_String_IHandler", ApiSince=26)]
public abstract void SetApplicationCategoryHint (string packageName, int categoryHint);
[<Android.Runtime.Register("setApplicationCategoryHint", "(Ljava/lang/String;I)V", "GetSetApplicationCategoryHint_Ljava_lang_String_IHandler", ApiSince=26)>]
abstract member SetApplicationCategoryHint : string * int -> unit

Parameters

packageName
String

the package to change the category hint for.

categoryHint
Int32

the category hint to set.

Attributes

Remarks

Java documentation for android.content.pm.PackageManager.setApplicationCategoryHint(java.lang.String, 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