Partager via


ShortcutInfo.Builder.SetLongLived(Boolean) Method

Definition

[Android.Runtime.Register("setLongLived", "(Z)Landroid/content/pm/ShortcutInfo$Builder;", "GetSetLongLived_ZHandler", ApiSince=29)]
public virtual Android.Content.PM.ShortcutInfo.Builder SetLongLived (bool longLived);
[<Android.Runtime.Register("setLongLived", "(Z)Landroid/content/pm/ShortcutInfo$Builder;", "GetSetLongLived_ZHandler", ApiSince=29)>]
abstract member SetLongLived : bool -> Android.Content.PM.ShortcutInfo.Builder
override this.SetLongLived : bool -> Android.Content.PM.ShortcutInfo.Builder

Parameters

longLived
Boolean

Returns

Attributes

Applies to