次の方法で共有


Slice.Builder.AddIcon(Icon, String, IList<String>) Method

Definition

[Android.Runtime.Register("addIcon", "(Landroid/graphics/drawable/Icon;Ljava/lang/String;Ljava/util/List;)Landroid/app/slice/Slice$Builder;", "GetAddIcon_Landroid_graphics_drawable_Icon_Ljava_lang_String_Ljava_util_List_Handler", ApiSince=28)]
public virtual Android.App.Slices.Slice.Builder? AddIcon (Android.Graphics.Drawables.Icon? icon, string? subType, System.Collections.Generic.IList<string>? hints);
[<Android.Runtime.Register("addIcon", "(Landroid/graphics/drawable/Icon;Ljava/lang/String;Ljava/util/List;)Landroid/app/slice/Slice$Builder;", "GetAddIcon_Landroid_graphics_drawable_Icon_Ljava_lang_String_Ljava_util_List_Handler", ApiSince=28)>]
abstract member AddIcon : Android.Graphics.Drawables.Icon * string * System.Collections.Generic.IList<string> -> Android.App.Slices.Slice.Builder
override this.AddIcon : Android.Graphics.Drawables.Icon * string * System.Collections.Generic.IList<string> -> Android.App.Slices.Slice.Builder

Parameters

icon
Icon
subType
String
hints
IList<String>

Returns

Attributes

Applies to