Language

ShortcutManagerMatchFlags Enum

Definition

Selects the categories returned by shortcut-manager queries.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum ShortcutManagerMatchFlags
[<System.Flags>]
type ShortcutManagerMatchFlags = 
Inheritance
ShortcutManagerMatchFlags
Attributes

Fields

Name Value Description
None 0

Selects no shortcut-category match bits.

Manifest 1

Include manifest shortcuts in the result.

Android reference for android.content.pm.ShortcutManager.FLAG_MATCH_MANIFEST.

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.

Dynamic 2

Include dynamic shortcuts in the result.

Android reference for android.content.pm.ShortcutManager.FLAG_MATCH_DYNAMIC.

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.

Pinned 4

Include pinned shortcuts in the result.

Android reference for android.content.pm.ShortcutManager.FLAG_MATCH_PINNED.

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.

Cached 8

Include cached shortcuts in the result.

Android reference for android.content.pm.ShortcutManager.FLAG_MATCH_CACHED.

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.

Remarks

The flags select manifest, dynamic, pinned, and cached shortcuts. The managed zero value selects none of these category bits.

Applies to