LauncherApps.GetShortcutIntent(String, String, Bundle, UserHandle) Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Devuelve PendingIntent asociado con el acceso directo especificado.
[Android.Runtime.Register("getShortcutIntent", "(Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;Landroid/os/UserHandle;)Landroid/app/PendingIntent;", "GetGetShortcutIntent_Ljava_lang_String_Ljava_lang_String_Landroid_os_Bundle_Landroid_os_UserHandle_Handler", ApiSince=31)]
public virtual Android.App.PendingIntent? GetShortcutIntent(string packageName, string shortcutId, Android.OS.Bundle? opts, Android.OS.UserHandle user);
[<Android.Runtime.Register("getShortcutIntent", "(Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;Landroid/os/UserHandle;)Landroid/app/PendingIntent;", "GetGetShortcutIntent_Ljava_lang_String_Ljava_lang_String_Landroid_os_Bundle_Landroid_os_UserHandle_Handler", ApiSince=31)>]
abstract member GetShortcutIntent : string * string * Android.OS.Bundle * Android.OS.UserHandle -> Android.App.PendingIntent
override this.GetShortcutIntent : string * string * Android.OS.Bundle * Android.OS.UserHandle -> Android.App.PendingIntent
Parámetros
- packageName
- String
PackageName del acceso directo
- shortcutId
- String
Identificador del acceso directo
- opts
- Bundle
Este parámetro ya no se admite
- user
- UserHandle
UserHandle del perfil
Devoluciones
- Atributos
Comentarios
Devuelve PendingIntent asociado con el acceso directo especificado.
Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.