public abstract static class StKeyManager.ShortcutKeyMonitor
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
StKeyManager.ShortcutKeyMonitor.ShortcutKeyEvent
Shortcut key event placeholder,reserved for future
|
static class |
StKeyManager.ShortcutKeyMonitor.ShortcutKeyListener
shortcut key listener
|
Modifier | Constructor and Description |
---|---|
protected |
ShortcutKeyMonitor() |
Modifier and Type | Method and Description |
---|---|
static StKeyManager.ShortcutKey[] |
getAvailableShortcutKeys()
Get all shortcut keys available on current product
|
abstract boolean |
isMonitoring()
whether it is monitoring
|
static boolean |
isShortcutKeyAvailable(StKeyManager.ShortcutKey shortcutKey)
whether the shortcut key exists on current product
|
abstract void |
reset(android.content.Context context,
StKeyManager.ShortcutKeyMonitor.ShortcutKeyListener listener,
android.os.Handler processHandler)
Reset shortcut key monitor.if
stopMonitor() has been called,this method should be called befor startMonitor() again |
abstract boolean |
startMonitor()
start monitor
|
abstract boolean |
stopMonitor()
stop monitor
|
public abstract void reset(android.content.Context context, StKeyManager.ShortcutKeyMonitor.ShortcutKeyListener listener, android.os.Handler processHandler)
stopMonitor()
has been called,this method should be called befor startMonitor()
againpublic abstract boolean startMonitor()
public abstract boolean isMonitoring()
public abstract boolean stopMonitor()
public static boolean isShortcutKeyAvailable(StKeyManager.ShortcutKey shortcutKey)
public static StKeyManager.ShortcutKey[] getAvailableShortcutKeys()