org.virtualbox_6_0
Enum HostNetworkInterfaceMediumType

java.lang.Object
  extended by java.lang.Enum<HostNetworkInterfaceMediumType>
      extended by org.virtualbox_6_0.HostNetworkInterfaceMediumType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<HostNetworkInterfaceMediumType>

public enum HostNetworkInterfaceMediumType
extends java.lang.Enum<HostNetworkInterfaceMediumType>

Type of encapsulation. Ethernet encapsulation includes both wired and wireless Ethernet connections.

See Also:
Interface ID: {1AA54AAF-2497-45A2-BFB1-8EB225E93D5B}

Enum Constant Summary
Ethernet
          Ethernet frame encapsulation.
PPP
          Point-to-point protocol encapsulation.
SLIP
          Serial line IP encapsulation.
Unknown
          The type of interface cannot be determined.
 
Method Summary
static HostNetworkInterfaceMediumType fromValue(long v)
           
static HostNetworkInterfaceMediumType fromValue(java.lang.String v)
           
 int value()
           
static HostNetworkInterfaceMediumType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static HostNetworkInterfaceMediumType[] 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

Unknown

public static final HostNetworkInterfaceMediumType Unknown
The type of interface cannot be determined.


Ethernet

public static final HostNetworkInterfaceMediumType Ethernet
Ethernet frame encapsulation.


PPP

public static final HostNetworkInterfaceMediumType PPP
Point-to-point protocol encapsulation.


SLIP

public static final HostNetworkInterfaceMediumType SLIP
Serial line IP encapsulation.

Method Detail

values

public static HostNetworkInterfaceMediumType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (HostNetworkInterfaceMediumType c : HostNetworkInterfaceMediumType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static HostNetworkInterfaceMediumType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

value

public int value()

fromValue

public static HostNetworkInterfaceMediumType fromValue(long v)

fromValue

public static HostNetworkInterfaceMediumType fromValue(java.lang.String v)