Sdílet prostřednictvím


ShortcutInfo.Builder.SetIcon(Icon) Method

Definition

[Android.Runtime.Register("setIcon", "(Landroid/graphics/drawable/Icon;)Landroid/content/pm/ShortcutInfo$Builder;", "GetSetIcon_Landroid_graphics_drawable_Icon_Handler", ApiSince=25)]
public virtual Android.Content.PM.ShortcutInfo.Builder SetIcon (Android.Graphics.Drawables.Icon? icon);
[<Android.Runtime.Register("setIcon", "(Landroid/graphics/drawable/Icon;)Landroid/content/pm/ShortcutInfo$Builder;", "GetSetIcon_Landroid_graphics_drawable_Icon_Handler", ApiSince=25)>]
abstract member SetIcon : Android.Graphics.Drawables.Icon -> Android.Content.PM.ShortcutInfo.Builder
override this.SetIcon : Android.Graphics.Drawables.Icon -> Android.Content.PM.ShortcutInfo.Builder

Parameters

icon
Icon

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