ShortcutManager.GetShortcuts(Int32) メソッド

定義

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一致する のリスト。

        &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.
属性

注釈

ShortcutInfo一致 matchFlagsする を返します。

の Java ドキュメント android.content.pm.ShortcutManager.getShortcuts(int)

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象