|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.sysactivity.SystemActivityNotifications
public class SystemActivityNotifications
| Nested Class Summary | |
|---|---|
static class |
SystemActivityNotifications.NotificationsDelegate
Delegate class to be notified for changes. |
| Field Summary | |
|---|---|
static int |
NOTIFY_DISPLAY_SLEEP
Computer display has stand by. |
static int |
NOTIFY_DISPLAY_WAKE
Computer display wakes up after stand by. |
static int |
NOTIFY_DNS_CHANGE
A change in dns configuration has occurred. |
static int |
NOTIFY_NETWORK_CHANGE
A change in network configuration has occurred. |
static int |
NOTIFY_SCREEN_LOCKED
Screen has been locked. |
static int |
NOTIFY_SCREEN_UNLOCKED
Screen has been unlocked. |
static int |
NOTIFY_SCREENSAVER_START
Screensaver has been started. |
static int |
NOTIFY_SCREENSAVER_STOP
Screensaver has been stopped. |
static int |
NOTIFY_SCREENSAVER_WILL_STOP
Screensaver will stop. |
static int |
NOTIFY_SLEEP
Notify that computers is going to sleep. |
static int |
NOTIFY_WAKE
Notify that computer is wakeing up after stand by. |
| Constructor Summary | |
|---|---|
SystemActivityNotifications()
|
|
| Method Summary | |
|---|---|
static long |
getLastInput()
Returns the when was last input in milliseconds. |
static boolean |
isLoaded()
Whether native library is loaded. |
static void |
setDelegate(long ptr,
SystemActivityNotifications.NotificationsDelegate delegate)
Sets notifier delegate. |
static void |
setDelegate(SystemActivityNotifications.NotificationsDelegate delegate)
Sets delegate. |
static void |
start()
Start. |
static void |
stop()
Stop. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int NOTIFY_SLEEP
public static final int NOTIFY_WAKE
public static final int NOTIFY_DISPLAY_SLEEP
public static final int NOTIFY_DISPLAY_WAKE
public static final int NOTIFY_SCREENSAVER_START
public static final int NOTIFY_SCREENSAVER_WILL_STOP
public static final int NOTIFY_SCREENSAVER_STOP
public static final int NOTIFY_SCREEN_LOCKED
public static final int NOTIFY_SCREEN_UNLOCKED
public static final int NOTIFY_NETWORK_CHANGE
public static final int NOTIFY_DNS_CHANGE
| Constructor Detail |
|---|
public SystemActivityNotifications()
| Method Detail |
|---|
public static void setDelegate(SystemActivityNotifications.NotificationsDelegate delegate)
delegate -
public static void setDelegate(long ptr,
SystemActivityNotifications.NotificationsDelegate delegate)
ptr - delegate - public static void start()
public static void stop()
public static long getLastInput()
public static boolean isLoaded()
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||