@Implements(value=android.content.pm.ShortcutManager.class,
minSdk=25)
public class ShadowShortcutManager
extends java.lang.Object
| Constructor and Description |
|---|
ShadowShortcutManager() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addDynamicShortcuts(java.util.List<android.content.pm.ShortcutInfo> shortcutInfoList) |
android.content.Intent |
createShortcutResultIntent(android.content.pm.ShortcutInfo shortcut) |
void |
disableShortcuts(java.util.List<java.lang.String> shortcutIds) |
void |
disableShortcuts(java.util.List<java.lang.String> shortcutIds,
java.lang.CharSequence unused) |
void |
enableShortcuts(java.util.List<java.lang.String> shortcutIds) |
java.util.List<android.content.pm.ShortcutInfo> |
getDynamicShortcuts() |
int |
getIconMaxHeight() |
int |
getIconMaxWidth() |
java.util.List<android.content.pm.ShortcutInfo> |
getManifestShortcuts() |
int |
getMaxShortcutCountPerActivity() |
java.util.List<android.content.pm.ShortcutInfo> |
getPinnedShortcuts() |
boolean |
isRateLimitingActive() |
boolean |
isRequestPinShortcutSupported() |
void |
removeAllDynamicShortcuts() |
void |
removeDynamicShortcuts(java.util.List<java.lang.String> shortcutIds) |
void |
reportShortcutUsed(java.lang.String shortcutId) |
boolean |
requestPinShortcut(android.content.pm.ShortcutInfo shortcut,
android.content.IntentSender resultIntent) |
boolean |
setDynamicShortcuts(java.util.List<android.content.pm.ShortcutInfo> shortcutInfoList) |
void |
setIsRequestPinShortcutSupported(boolean isRequestPinShortcutSupported) |
boolean |
updateShortcuts(java.util.List<android.content.pm.ShortcutInfo> shortcutInfoList) |
@Implementation public boolean addDynamicShortcuts(java.util.List<android.content.pm.ShortcutInfo> shortcutInfoList)
@Implementation(minSdk=26) public android.content.Intent createShortcutResultIntent(android.content.pm.ShortcutInfo shortcut)
@Implementation public void disableShortcuts(java.util.List<java.lang.String> shortcutIds)
@Implementation
public void disableShortcuts(java.util.List<java.lang.String> shortcutIds,
java.lang.CharSequence unused)
@Implementation public void enableShortcuts(java.util.List<java.lang.String> shortcutIds)
@Implementation public java.util.List<android.content.pm.ShortcutInfo> getDynamicShortcuts()
@Implementation public int getIconMaxHeight()
@Implementation public int getIconMaxWidth()
@Implementation public java.util.List<android.content.pm.ShortcutInfo> getManifestShortcuts()
@Implementation public int getMaxShortcutCountPerActivity()
@Implementation public java.util.List<android.content.pm.ShortcutInfo> getPinnedShortcuts()
@Implementation public boolean isRateLimitingActive()
@Implementation(minSdk=26) public boolean isRequestPinShortcutSupported()
public void setIsRequestPinShortcutSupported(boolean isRequestPinShortcutSupported)
@Implementation public void removeAllDynamicShortcuts()
@Implementation public void removeDynamicShortcuts(java.util.List<java.lang.String> shortcutIds)
@Implementation public void reportShortcutUsed(java.lang.String shortcutId)
@Implementation(minSdk=26)
public boolean requestPinShortcut(android.content.pm.ShortcutInfo shortcut,
android.content.IntentSender resultIntent)
@Implementation public boolean setDynamicShortcuts(java.util.List<android.content.pm.ShortcutInfo> shortcutInfoList)
@Implementation public boolean updateShortcuts(java.util.List<android.content.pm.ShortcutInfo> shortcutInfoList)