public enum EOS_EApplicationStatus extends java.lang.Enum<EOS_EApplicationStatus> implements com.sun.jna.NativeMapped
| Enum Constant and Description |
|---|
EOS_AS_BackgroundConstrained
Xbox only.
|
EOS_AS_BackgroundSuspended
Notifies the SDK that the application has been put into suspended state by the platform system.
|
EOS_AS_BackgroundUnconstrained
Xbox only.
|
EOS_AS_Foreground
Notifies the SDK that the application has been resumed from suspended state.
|
| 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_EApplicationStatus value.
|
static EOS_EApplicationStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EOS_EApplicationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EOS_EApplicationStatus EOS_AS_BackgroundConstrained
Notifies the SDK that the application has entered constrained mode. While in constrained mode, the application has reduced access to reserved system resources.
public static final EOS_EApplicationStatus EOS_AS_BackgroundUnconstrained
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.
public static final EOS_EApplicationStatus EOS_AS_BackgroundSuspended
public static final EOS_EApplicationStatus EOS_AS_Foreground
This is the default active state on all platforms.
public static EOS_EApplicationStatus[] values()
for (EOS_EApplicationStatus c : EOS_EApplicationStatus.values()) System.out.println(c);
public static EOS_EApplicationStatus 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_EApplicationStatus_ToString(EOS_EApplicationStatus::EOS_AS_Foreground) returns "EOS_AS_Foreground".
toString in class java.lang.Enum<EOS_EApplicationStatus>