public class ApplicationInhibitFlags
extends org.freedesktop.bindings.Flag
Modifier and Type | Field and Description |
---|---|
static ApplicationInhibitFlags |
IDLE
Inhibit the session being marked as idle (and possibly locked).
|
static ApplicationInhibitFlags |
LOGOUT
Inhibit ending the user session by logging out or by shutting down the
computer.
|
static ApplicationInhibitFlags |
SUSPEND
Inhibit suspending the session or computer.
|
static ApplicationInhibitFlags |
SWITCH
Inhibit user switching.
|
Modifier and Type | Method and Description |
---|---|
static ApplicationInhibitFlags |
or(ApplicationInhibitFlags... flags)
Combines several flags to inhibit several user actions with one
inhibitor.
|
public static final ApplicationInhibitFlags IDLE
public static final ApplicationInhibitFlags LOGOUT
public static final ApplicationInhibitFlags SUSPEND
public static final ApplicationInhibitFlags SWITCH
public static ApplicationInhibitFlags or(ApplicationInhibitFlags... flags)