Lenguaje

LauncherApps.ShortcutQuery.SetPackage(String) Método

Definición

Si no es null, solo devuelve accesos directos del paquete.

[Android.Runtime.Register("setPackage", "(Ljava/lang/String;)Landroid/content/pm/LauncherApps$ShortcutQuery;", "GetSetPackage_Ljava_lang_String_Handler", ApiSince=25)]
public virtual Android.Content.PM.LauncherApps.ShortcutQuery? SetPackage(string? packageName);
[<Android.Runtime.Register("setPackage", "(Ljava/lang/String;)Landroid/content/pm/LauncherApps$ShortcutQuery;", "GetSetPackage_Ljava_lang_String_Handler", ApiSince=25)>]
abstract member SetPackage : string -> Android.Content.PM.LauncherApps.ShortcutQuery
override this.SetPackage : string -> Android.Content.PM.LauncherApps.ShortcutQuery

Parámetros

packageName
String

Devoluciones

Atributos

Comentarios

Si no es null, solo devuelve accesos directos del paquete.

Referencia de Android para android.content.pm.LauncherApps.ShortcutQuery.setPackage.

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.

Se aplica a