ShortcutManager.GetShortcuts(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns ShortcutInfo
s that match 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>
Parameters
- matchFlags
- Int32
result includes shortcuts matching this flags. Any combination of:
<ul>
<li>#FLAG_MATCH_MANIFEST
<li>#FLAG_MATCH_DYNAMIC
<li>#FLAG_MATCH_PINNED
<li>#FLAG_MATCH_CACHED
</ul>
Returns
list of ShortcutInfo
s that match the flag.
<p>At least one of the <code data-dev-comment-type="c">MATCH</code> flags should be set. Otherwise no shortcuts will be
returned.
- Attributes
Remarks
Returns ShortcutInfo
s that match matchFlags
.
Java documentation for android.content.pm.ShortcutManager.getShortcuts(int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.