ShortcutInfoCompat
Helper for accessing features in ShortcutInfo.
Types
Link copied to clipboard
Builder class for ShortcutInfoCompat objects.
Link copied to clipboard
Functions
Link copied to clipboard
Return the target activity.
Link copied to clipboard
Return the categories set with setCategories.
Link copied to clipboard
Return the message that should be shown when the user attempts to start a shortcut that is disabled.
Link copied to clipboard
Returns why a shortcut has been disabled.
Link copied to clipboard
Returns a bitmask of all surfaces this shortcut is excluded from.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Return the intent set with setIntents.
Link copied to clipboard
Last time when any of the fields was updated.
Link copied to clipboard
Gets the LocusIdCompat associated with this shortcut.
Link copied to clipboard
Return the long description of a shortcut.
Link copied to clipboard
Return the package name of the publisher app.
Link copied to clipboard
Return the short description of a shortcut.
Link copied to clipboard
Get additional extras from the shortcut, which will not be persisted anywhere once the shortcut is published.
Link copied to clipboard
UserHandle on which the publisher created this shortcut.
Link copied to clipboard
Return whether a shortcut only contains "key" information only or not.
Link copied to clipboard
Return whether a shortcut is static; that is, whether a shortcut is published from AndroidManifest.xml.
Link copied to clipboard
Returns
false
if a shortcut is disabled with disableShortcuts.Link copied to clipboard
Return true if the shortcut is excluded from specified surface.
Link copied to clipboard
Return if a shortcut is immutable, in which case it cannot be modified with any of ShortcutManagerCompat APIs.
Link copied to clipboard