public enum SessionType extends java.lang.Enum<SessionType>
ISession.getType()
attribute.
Interface ID: {A13C02CB-0C2C-421E-8317-AC0E8AAA153A}Enum Constant and Description |
---|
Null
Null value (never used by the API).
|
Remote
Session has launched a VM process using
IMachine.launchVMProcess(org.virtualbox_6_0.ISession,String,String) |
Shared
Session has obtained a link to another session using
IMachine.lockMachine(org.virtualbox_6_0.ISession,org.virtualbox_6_0.LockType) |
WriteLock
Session has acquired an exclusive write lock on a machine
using
IMachine.lockMachine(org.virtualbox_6_0.ISession,org.virtualbox_6_0.LockType) . |
Modifier and Type | Method and Description |
---|---|
static SessionType |
fromValue(long v) |
static SessionType |
fromValue(java.lang.String v) |
int |
value() |
static SessionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SessionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SessionType Null
public static final SessionType WriteLock
IMachine.lockMachine(org.virtualbox_6_0.ISession,org.virtualbox_6_0.LockType)
.public static final SessionType Remote
IMachine.launchVMProcess(org.virtualbox_6_0.ISession,String,String)
public static final SessionType Shared
IMachine.lockMachine(org.virtualbox_6_0.ISession,org.virtualbox_6_0.LockType)
public static SessionType[] values()
for (SessionType c : SessionType.values()) System.out.println(c);
public static SessionType 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 namejava.lang.NullPointerException
- if the argument is nullpublic int value()
public static SessionType fromValue(long v)
public static SessionType fromValue(java.lang.String v)