ShortcutManager.GetShortcuts(Int32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne ShortcutInfos qui correspondent matchFlags.
[Android.Runtime.Register("getShortcuts", "(I)Ljava/util/List;", "GetGetShortcuts_IHandler", ApiSince=30)]
public virtual System.Collections.Generic.IList<Android.Content.PM.ShortcutInfo> GetShortcuts(int matchFlags);
[<Android.Runtime.Register("getShortcuts", "(I)Ljava/util/List;", "GetGetShortcuts_IHandler", ApiSince=30)>]
abstract member GetShortcuts : int -> System.Collections.Generic.IList<Android.Content.PM.ShortcutInfo>
override this.GetShortcuts : int -> System.Collections.Generic.IList<Android.Content.PM.ShortcutInfo>
Paramètres
- matchFlags
- Int32
le résultat inclut des raccourcis correspondant à ces indicateurs. Toute combinaison de : <ul><li>#FLAG_MATCH_MANIFEST<li>#FLAG_MATCH_DYNAMIC<li li><>#FLAG_MATCH_PINNED<#FLAG_MATCH_CACHED/ul>
Retours
liste des ShortcutInfos qui correspondent à l’indicateur.
<p>At least one of the <code data-dev-comment-type="c">MATCH</code> flags should be set. Otherwise no shortcuts will be
returned.
- Attributs
Remarques
Retourne ShortcutInfos qui correspondent matchFlags.
Java documentation pour android.content.pm.ShortcutManager.getShortcuts(int).
Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.