ShortcutManager.GetShortcuts(Int32) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
に ShortcutInfo
一致 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>
パラメーター
- matchFlags
- Int32
result には、このフラグに一致するショートカットが含まれます。 任意の組み合わせ: ul>li li#FLAG_MATCH_MANIFEST
#FLAG_MATCH_DYNAMIC
<><>li#FLAG_MATCH_PINNED
<>/ul><#FLAG_MATCH_CACHED
<<>
戻り値
フラグに ShortcutInfo
一致する のリスト。
<p>At least one of the <code data-dev-comment-type="c">MATCH</code> flags should be set. Otherwise no shortcuts will be
returned.
- 属性
注釈
に ShortcutInfo
一致 matchFlags
する を返します。
の Java ドキュメント android.content.pm.ShortcutManager.getShortcuts(int)
。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。