LauncherApps.GetShortcuts(LauncherApps+ShortcutQuery, UserHandle) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns ShortcutInfo
s that match query
.
[Android.Runtime.Register("getShortcuts", "(Landroid/content/pm/LauncherApps$ShortcutQuery;Landroid/os/UserHandle;)Ljava/util/List;", "GetGetShortcuts_Landroid_content_pm_LauncherApps_ShortcutQuery_Landroid_os_UserHandle_Handler", ApiSince=25)]
public virtual System.Collections.Generic.IList<Android.Content.PM.ShortcutInfo>? GetShortcuts (Android.Content.PM.LauncherApps.ShortcutQuery query, Android.OS.UserHandle user);
[<Android.Runtime.Register("getShortcuts", "(Landroid/content/pm/LauncherApps$ShortcutQuery;Landroid/os/UserHandle;)Ljava/util/List;", "GetGetShortcuts_Landroid_content_pm_LauncherApps_ShortcutQuery_Landroid_os_UserHandle_Handler", ApiSince=25)>]
abstract member GetShortcuts : Android.Content.PM.LauncherApps.ShortcutQuery * Android.OS.UserHandle -> System.Collections.Generic.IList<Android.Content.PM.ShortcutInfo>
override this.GetShortcuts : Android.Content.PM.LauncherApps.ShortcutQuery * Android.OS.UserHandle -> System.Collections.Generic.IList<Android.Content.PM.ShortcutInfo>
Parameters
result includes shortcuts matching this query.
- user
- UserHandle
The UserHandle of the profile.
Returns
the IDs of ShortcutInfo
s that match the query.
- 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.