Enum Class EOS_EApplicationStatus
- All Implemented Interfaces:
com.sun.jna.NativeMapped,Serializable,Comparable<EOS_EApplicationStatus>,Constable
- 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 ConstantDescriptionXbox only.Notifies the SDK that the application has been put into suspended state by the platform system.Xbox only.Notifies the SDK that the application has been resumed from suspended state. -
Method Summary
Modifier and TypeMethodDescriptionfromNative(Object nativeValue, com.sun.jna.FromNativeContext context) Class<?>toNative()toString()Gets the string representation of an EOS_EApplicationStatus value.static EOS_EApplicationStatusReturns the enum constant of this class with the specified name.static EOS_EApplicationStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EOS_AS_BackgroundConstrained
Xbox only.Notifies the SDK that the application has entered constrained mode. While in constrained mode, the application has reduced access to reserved system resources.
-
EOS_AS_BackgroundUnconstrained
Xbox only.Notifies the SDK that the application has returned from constrained mode, and is back to running in a regular state with full access to system resources.
The SDK will handle this state change and automatically transition its active state to EOS_AS_Foreground. As result, after the application has set the EOS_AS_BackgroundUnconstrained state, calling EOS_Platform_GetApplicationStatus will return EOS_AS_Foreground as the persisted active state.
-
EOS_AS_BackgroundSuspended
Notifies the SDK that the application has been put into suspended state by the platform system. -
EOS_AS_Foreground
Notifies the SDK that the application has been resumed from suspended state.This is the default active state on all platforms.
-
-
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_EApplicationStatus value.Example: EOS_EApplicationStatus_ToString(EOS_EApplicationStatus::EOS_AS_Foreground) returns "EOS_AS_Foreground".
- Overrides:
toStringin classEnum<EOS_EApplicationStatus>- 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.
-