LauncherApps.GetShortcutConfigActivityList(String, 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.
Retrieves a list of config activities for creating ShortcutInfo
.
[Android.Runtime.Register("getShortcutConfigActivityList", "(Ljava/lang/String;Landroid/os/UserHandle;)Ljava/util/List;", "GetGetShortcutConfigActivityList_Ljava_lang_String_Landroid_os_UserHandle_Handler", ApiSince=26)]
public virtual System.Collections.Generic.IList<Android.Content.PM.LauncherActivityInfo>? GetShortcutConfigActivityList (string? packageName, Android.OS.UserHandle user);
[<Android.Runtime.Register("getShortcutConfigActivityList", "(Ljava/lang/String;Landroid/os/UserHandle;)Ljava/util/List;", "GetGetShortcutConfigActivityList_Ljava_lang_String_Landroid_os_UserHandle_Handler", ApiSince=26)>]
abstract member GetShortcutConfigActivityList : string * Android.OS.UserHandle -> System.Collections.Generic.IList<Android.Content.PM.LauncherActivityInfo>
override this.GetShortcutConfigActivityList : string * Android.OS.UserHandle -> System.Collections.Generic.IList<Android.Content.PM.LauncherActivityInfo>
Parameters
- packageName
- String
The specific package to query. If null, it checks all installed packages in the profile.
- user
- UserHandle
The UserHandle of the profile.
Returns
List of config activities. Can be an empty list but will not be null.
- Attributes
Remarks
Retrieves a list of config activities for creating ShortcutInfo
.
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.