LauncherApps.PinShortcuts(String, IList<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.
Pin shortcuts on a package.
[Android.Runtime.Register("pinShortcuts", "(Ljava/lang/String;Ljava/util/List;Landroid/os/UserHandle;)V", "GetPinShortcuts_Ljava_lang_String_Ljava_util_List_Landroid_os_UserHandle_Handler", ApiSince=25)]
public virtual void PinShortcuts (string packageName, System.Collections.Generic.IList<string> shortcutIds, Android.OS.UserHandle user);
[<Android.Runtime.Register("pinShortcuts", "(Ljava/lang/String;Ljava/util/List;Landroid/os/UserHandle;)V", "GetPinShortcuts_Ljava_lang_String_Ljava_util_List_Landroid_os_UserHandle_Handler", ApiSince=25)>]
abstract member PinShortcuts : string * System.Collections.Generic.IList<string> * Android.OS.UserHandle -> unit
override this.PinShortcuts : string * System.Collections.Generic.IList<string> * Android.OS.UserHandle -> unit
Parameters
- packageName
- String
The target package name.
- user
- UserHandle
The UserHandle of the profile.
- 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.