Lingua

LauncherApps.GetShortcutIntent(String, String, Bundle, UserHandle) Metodo

Definizione

Restituisce PendingIntent associato al collegamento specificato.

[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

Parametri

packageName
String

PackageName del collegamento

shortcutId
String

ID del collegamento

opts
Bundle

Questo parametro non è più supportato

user
UserHandle

UserHandle del profilo

Valori restituiti

Attributi

Commenti

Restituisce PendingIntent associato al collegamento specificato.

per android.content.pm.LauncherApps.getShortcutIntent(java.lang.String, java.lang.String, android.os.Bundle, android.os.UserHandle).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a