public static interface MacIdleTime.ApplicationServices
extends com.sun.jna.Library
Modifier and Type | Field and Description |
---|---|
static MacIdleTime.ApplicationServices |
INSTANCE |
static int |
kCGAnyInputEventType |
static int |
kCGEventSourceStateCombinedSessionState |
static int |
kCGEventSourceStateHIDSystemState |
static int |
kCGEventSourceStatePrivate |
Modifier and Type | Method and Description |
---|---|
double |
CGEventSourceSecondsSinceLastEventType(int sourceStateId,
int eventType) |
static final MacIdleTime.ApplicationServices INSTANCE
static final int kCGAnyInputEventType
static final int kCGEventSourceStatePrivate
static final int kCGEventSourceStateCombinedSessionState
static final int kCGEventSourceStateHIDSystemState
double CGEventSourceSecondsSinceLastEventType(int sourceStateId, int eventType)
sourceStateId
- eventType
- http://developer.apple.com/mac/library/documentation/Carbon/Reference/QuartzEventServicesRef/Reference/reference.html#//apple_ref/c/func/CGEventSourceSecondsSinceLastEventType