Partager via


ShortcutInfo.Builder.SetCategories(ICollection<String>) Method

Definition

[Android.Runtime.Register("setCategories", "(Ljava/util/Set;)Landroid/content/pm/ShortcutInfo$Builder;", "GetSetCategories_Ljava_util_Set_Handler", ApiSince=25)]
public virtual Android.Content.PM.ShortcutInfo.Builder SetCategories (System.Collections.Generic.ICollection<string>? categories);
[<Android.Runtime.Register("setCategories", "(Ljava/util/Set;)Landroid/content/pm/ShortcutInfo$Builder;", "GetSetCategories_Ljava_util_Set_Handler", ApiSince=25)>]
abstract member SetCategories : System.Collections.Generic.ICollection<string> -> Android.Content.PM.ShortcutInfo.Builder
override this.SetCategories : System.Collections.Generic.ICollection<string> -> Android.Content.PM.ShortcutInfo.Builder

Parameters

categories
ICollection<String>

Returns

Attributes

Remarks

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