ShortcutManager.GetShortcuts(Int32) Metodo

Definizione

Restituisce ShortcutInfoche corrispondono a 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>

Parametri

matchFlags
Int32

result include collegamenti corrispondenti a questi flag. Qualsiasi combinazione di: <ul><li li><#FLAG_MATCH_MANIFESTli<>#FLAG_MATCH_DYNAMICli#FLAG_MATCH_PINNED<>/ul>#FLAG_MATCH_CACHED<>

Valori restituiti

elenco di ShortcutInfoche corrispondono al flag.

        &lt;p&gt;At least one of the <code data-dev-comment-type="c">MATCH</code> flags should be set. Otherwise no shortcuts will be
        returned.
Attributi

Commenti

Restituisce ShortcutInfoche corrispondono a matchFlags.

per android.content.pm.ShortcutManager.getShortcuts(int).

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