public enum EOS_ENetworkStatus extends java.lang.Enum<EOS_ENetworkStatus> implements com.sun.jna.NativeMapped
| Enum Constant and Description |
|---|
EOS_NS_Disabled
Networking unavailable.
|
EOS_NS_Offline
Not connected to the internet.
|
EOS_NS_Online
Connected to the internet.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
fromNative(java.lang.Object nativeValue,
com.sun.jna.FromNativeContext context) |
java.lang.Class<?> |
nativeType() |
java.lang.Object |
toNative() |
java.lang.String |
toString()
Gets the string representation of an EOS_ENetworkStatus value.
|
static EOS_ENetworkStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EOS_ENetworkStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EOS_ENetworkStatus EOS_NS_Disabled
public static final EOS_ENetworkStatus EOS_NS_Offline
public static final EOS_ENetworkStatus EOS_NS_Online
public static EOS_ENetworkStatus[] values()
for (EOS_ENetworkStatus c : EOS_ENetworkStatus.values()) System.out.println(c);
public static EOS_ENetworkStatus 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 java.lang.Object fromNative(java.lang.Object nativeValue,
com.sun.jna.FromNativeContext context)
fromNative in interface com.sun.jna.NativeMappedpublic java.lang.Object toNative()
toNative in interface com.sun.jna.NativeMappedpublic java.lang.Class<?> nativeType()
nativeType in interface com.sun.jna.NativeMappedpublic java.lang.String toString()
Example: EOS_ENetworkStatus_ToString(EOS_ENetworkStatus::EOS_NS_Online) returns "EOS_NS_Online".
toString in class java.lang.Enum<EOS_ENetworkStatus>