Table of Contents

Class ShortcutManager

Namespace
Android.Content.Pm
Assembly
MASES.Netdroid.dll
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

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

FLAG_MATCH_CACHED

public static int FLAG_MATCH_CACHED { get; set; }

Property Value

int

FLAG_MATCH_DYNAMIC

public static int FLAG_MATCH_DYNAMIC { get; set; }

Property Value

int

FLAG_MATCH_MANIFEST

public static int FLAG_MATCH_MANIFEST { get; set; }

Property Value

int

FLAG_MATCH_PINNED

public static int FLAG_MATCH_PINNED { get; set; }

Property Value

int

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

AddDynamicShortcuts(List<ShortcutInfo>)

public bool AddDynamicShortcuts(List<ShortcutInfo> arg0)

Parameters

arg0 List<ShortcutInfo>

List

Returns

bool

bool

CreateShortcutResultIntent(ShortcutInfo)

public Intent CreateShortcutResultIntent(ShortcutInfo arg0)

Parameters

arg0 ShortcutInfo

ShortcutInfo

Returns

Intent

Intent

DisableShortcuts(List<String>)

public void DisableShortcuts(List<String> arg0)

Parameters

arg0 List<String>

List

DisableShortcuts(List<String>, CharSequence)

public void DisableShortcuts(List<String> arg0, CharSequence arg1)

Parameters

arg0 List<String>

List

arg1 CharSequence

CharSequence

EnableShortcuts(List<String>)

public void EnableShortcuts(List<String> arg0)

Parameters

arg0 List<String>

List

GetDynamicShortcuts()

public List<ShortcutInfo> GetDynamicShortcuts()

Returns

List<ShortcutInfo>

List

GetIconMaxHeight()

public int GetIconMaxHeight()

Returns

int

int

GetIconMaxWidth()

public int GetIconMaxWidth()

Returns

int

int

GetManifestShortcuts()

public List<ShortcutInfo> GetManifestShortcuts()

Returns

List<ShortcutInfo>

List

GetMaxShortcutCountPerActivity()

public int GetMaxShortcutCountPerActivity()

Returns

int

int

GetPinnedShortcuts()

public List<ShortcutInfo> GetPinnedShortcuts()

Returns

List<ShortcutInfo>

List

GetShortcuts(int)

public List<ShortcutInfo> GetShortcuts(int arg0)

Parameters

arg0 int

int

Returns

List<ShortcutInfo>

List

IsRateLimitingActive()

public bool IsRateLimitingActive()

Returns

bool

bool

IsRequestPinShortcutSupported()

public bool IsRequestPinShortcutSupported()

Returns

bool

bool

PushDynamicShortcut(ShortcutInfo)

public void PushDynamicShortcut(ShortcutInfo arg0)

Parameters

arg0 ShortcutInfo

ShortcutInfo

RemoveAllDynamicShortcuts()

public void RemoveAllDynamicShortcuts()

RemoveDynamicShortcuts(List<String>)

public void RemoveDynamicShortcuts(List<String> arg0)

Parameters

arg0 List<String>

List

RemoveLongLivedShortcuts(List<String>)

public void RemoveLongLivedShortcuts(List<String> arg0)

Parameters

arg0 List<String>

List

ReportShortcutUsed(String)

public void ReportShortcutUsed(String arg0)

Parameters

arg0 String

String

RequestPinShortcut(ShortcutInfo, IntentSender)

public bool RequestPinShortcut(ShortcutInfo arg0, IntentSender arg1)

Parameters

arg0 ShortcutInfo

ShortcutInfo

arg1 IntentSender

IntentSender

Returns

bool

bool

SetDynamicShortcuts(List<ShortcutInfo>)

public bool SetDynamicShortcuts(List<ShortcutInfo> arg0)

Parameters

arg0 List<ShortcutInfo>

List

Returns

bool

bool

UpdateShortcuts(List<ShortcutInfo>)

public bool UpdateShortcuts(List<ShortcutInfo> arg0)

Parameters

arg0 List<ShortcutInfo>

List

Returns

bool

bool