Language

LauncherApps.ShortcutQuery.SetLocusIds(IList<LocusId>) Method

Definition

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

[Android.Runtime.Register("setLocusIds", "(Ljava/util/List;)Landroid/content/pm/LauncherApps$ShortcutQuery;", "GetSetLocusIds_Ljava_util_List_Handler", ApiSince=30)]
public virtual Android.Content.PM.LauncherApps.ShortcutQuery SetLocusIds(System.Collections.Generic.IList<Android.Content.LocusId>? locusIds);
[<Android.Runtime.Register("setLocusIds", "(Ljava/util/List;)Landroid/content/pm/LauncherApps$ShortcutQuery;", "GetSetLocusIds_Ljava_util_List_Handler", ApiSince=30)>]
abstract member SetLocusIds : System.Collections.Generic.IList<Android.Content.LocusId> -> Android.Content.PM.LauncherApps.ShortcutQuery
override this.SetLocusIds : System.Collections.Generic.IList<Android.Content.LocusId> -> Android.Content.PM.LauncherApps.ShortcutQuery

Parameters

locusIds
IList<LocusId>

Returns

Attributes

Remarks

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

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

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