Language

LauncherApps.ShortcutQuery.SetShortcutIds(IList<String>) Method

Definition

If non-null, return only the specified shortcuts by ID.

[Android.Runtime.Register("setShortcutIds", "(Ljava/util/List;)Landroid/content/pm/LauncherApps$ShortcutQuery;", "GetSetShortcutIds_Ljava_util_List_Handler", ApiSince=25)]
public virtual Android.Content.PM.LauncherApps.ShortcutQuery? SetShortcutIds(System.Collections.Generic.IList<string>? shortcutIds);
[<Android.Runtime.Register("setShortcutIds", "(Ljava/util/List;)Landroid/content/pm/LauncherApps$ShortcutQuery;", "GetSetShortcutIds_Ljava_util_List_Handler", ApiSince=25)>]
abstract member SetShortcutIds : System.Collections.Generic.IList<string> -> Android.Content.PM.LauncherApps.ShortcutQuery
override this.SetShortcutIds : System.Collections.Generic.IList<string> -> Android.Content.PM.LauncherApps.ShortcutQuery

Parameters

shortcutIds
IList<String>

Returns

Attributes

Remarks

If non-null, return only the specified shortcuts by ID. When setting this field, a package name must also be set with setPackage(String).

Android reference for android.content.pm.LauncherApps.ShortcutQuery.setShortcutIds.

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