|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||
java.lang.Objectjava.lang.Enum<GuestSessionWaitResult>
org.virtualbox_6_1.GuestSessionWaitResult
public enum GuestSessionWaitResult
Guest session waiting results. Depending on the session waiting flags (for
more information seeGuestSessionWaitForFlag) the waiting result
can vary based on the session's current status.
To wait for a guest session to terminate after it has been
created byIGuest.createSession(String,String,String,String)one would specify
GuestSessionWaitResult_Terminate.
Interface ID: {C0F6A8A5-FDB6-42BF-A582-56C6F82BCD2D}
| Enum Constant Summary | |
|---|---|
Error
Error while executing the process. |
|
None
No result was returned. |
|
Start
The guest session has been started. |
|
Status
The guest session has changed its status. |
|
Terminate
The guest session has been terminated. |
|
Timeout
The waiting operation timed out. |
|
WaitFlagNotSupported
A waiting flag specified in the IGuestSession.waitFor(Long,Long)call
is not supported by the guest. |
|
| Method Summary | |
|---|---|
static GuestSessionWaitResult |
fromValue(long v)
|
static GuestSessionWaitResult |
fromValue(java.lang.String v)
|
int |
value()
|
static GuestSessionWaitResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static GuestSessionWaitResult[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final GuestSessionWaitResult None
public static final GuestSessionWaitResult Start
public static final GuestSessionWaitResult Terminate
public static final GuestSessionWaitResult Status
IGuestSession.getStatus().
public static final GuestSessionWaitResult Error
public static final GuestSessionWaitResult Timeout
IGuestSession.waitFor(Long,Long)call.
public static final GuestSessionWaitResult WaitFlagNotSupported
IGuestSession.waitFor(Long,Long)call
is not supported by the guest.
| Method Detail |
|---|
public static GuestSessionWaitResult[] values()
for (GuestSessionWaitResult c : GuestSessionWaitResult.values()) System.out.println(c);
public static GuestSessionWaitResult valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic int value()
public static GuestSessionWaitResult fromValue(long v)
public static GuestSessionWaitResult fromValue(java.lang.String v)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||