Class ShortcutManager
public class ShortcutManager : JVMBridgeBase<ShortcutManager>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
- Inheritance
-
ShortcutManager
- Implements
- Extension Methods
Constructors
ShortcutManager(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ShortcutManager(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
FLAG_MATCH_CACHED
public static int FLAG_MATCH_CACHED { get; set; }
Property Value
FLAG_MATCH_DYNAMIC
public static int FLAG_MATCH_DYNAMIC { get; set; }
Property Value
FLAG_MATCH_MANIFEST
public static int FLAG_MATCH_MANIFEST { get; set; }
Property Value
FLAG_MATCH_PINNED
public static int FLAG_MATCH_PINNED { get; set; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
Methods
AddDynamicShortcuts(List<ShortcutInfo>)
public bool AddDynamicShortcuts(List<ShortcutInfo> arg0)
Parameters
arg0List<ShortcutInfo>
Returns
CreateShortcutResultIntent(ShortcutInfo)
public Intent CreateShortcutResultIntent(ShortcutInfo arg0)
Parameters
arg0ShortcutInfo
Returns
DisableShortcuts(List<String>)
public void DisableShortcuts(List<String> arg0)
Parameters
DisableShortcuts(List<String>, CharSequence)
public void DisableShortcuts(List<String> arg0, CharSequence arg1)
Parameters
arg0List<String>arg1CharSequence
EnableShortcuts(List<String>)
public void EnableShortcuts(List<String> arg0)
Parameters
GetDynamicShortcuts()
public List<ShortcutInfo> GetDynamicShortcuts()
Returns
GetIconMaxHeight()
public int GetIconMaxHeight()
Returns
GetIconMaxWidth()
public int GetIconMaxWidth()
Returns
GetManifestShortcuts()
public List<ShortcutInfo> GetManifestShortcuts()
Returns
GetMaxShortcutCountPerActivity()
public int GetMaxShortcutCountPerActivity()
Returns
GetPinnedShortcuts()
https://developer.android.com/reference/android/content/pm/ShortcutManager.html#getPinnedShortcuts()
public List<ShortcutInfo> GetPinnedShortcuts()
Returns
GetShortcuts(int)
public List<ShortcutInfo> GetShortcuts(int arg0)
Parameters
Returns
IsRateLimitingActive()
public bool IsRateLimitingActive()
Returns
IsRequestPinShortcutSupported()
public bool IsRequestPinShortcutSupported()
Returns
PushDynamicShortcut(ShortcutInfo)
public void PushDynamicShortcut(ShortcutInfo arg0)
Parameters
arg0ShortcutInfo
RemoveAllDynamicShortcuts()
public void RemoveAllDynamicShortcuts()
RemoveDynamicShortcuts(List<String>)
public void RemoveDynamicShortcuts(List<String> arg0)
Parameters
RemoveLongLivedShortcuts(List<String>)
public void RemoveLongLivedShortcuts(List<String> arg0)
Parameters
ReportShortcutUsed(String)
public void ReportShortcutUsed(String arg0)
Parameters
RequestPinShortcut(ShortcutInfo, IntentSender)
public bool RequestPinShortcut(ShortcutInfo arg0, IntentSender arg1)
Parameters
arg0ShortcutInfoarg1IntentSender
Returns
SetDynamicShortcuts(List<ShortcutInfo>)
public bool SetDynamicShortcuts(List<ShortcutInfo> arg0)
Parameters
arg0List<ShortcutInfo>
Returns
UpdateShortcuts(List<ShortcutInfo>)
public bool UpdateShortcuts(List<ShortcutInfo> arg0)
Parameters
arg0List<ShortcutInfo>