Enum Class EOS_ENetworkStatus
- All Implemented Interfaces:
com.sun.jna.NativeMapped,Serializable,Comparable<EOS_ENetworkStatus>,Constable
All possible states of the network
- Since:
- 8/5/2023
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNetworking unavailable.Not connected to the internet.Connected to the internet. -
Method Summary
Modifier and TypeMethodDescriptionfromNative(Object nativeValue, com.sun.jna.FromNativeContext context) Class<?>toNative()toString()Gets the string representation of an EOS_ENetworkStatus value.static EOS_ENetworkStatusReturns the enum constant of this class with the specified name.static EOS_ENetworkStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EOS_NS_Disabled
Networking unavailable. -
EOS_NS_Offline
Not connected to the internet. Only local area networking (LAN) may be available. -
EOS_NS_Online
Connected to the internet.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
fromNative
- Specified by:
fromNativein interfacecom.sun.jna.NativeMapped
-
toNative
- Specified by:
toNativein interfacecom.sun.jna.NativeMapped
-
nativeType
- Specified by:
nativeTypein interfacecom.sun.jna.NativeMapped
-
toString
Gets the string representation of an EOS_ENetworkStatus value.Example: EOS_ENetworkStatus_ToString(EOS_ENetworkStatus::EOS_NS_Online) returns "EOS_NS_Online".
- Overrides:
toStringin classEnum<EOS_ENetworkStatus>- Returns:
- Pointer to a static string representing the input enum value. The returned string is guaranteed to be non-null, and must not be freed by the application.
-