com.annahid.libs.artenus.core
StageEvents
Events that can happen during the stage's lifecycle. The stage notifies its manager whenever any
of these events occur.
See Also:
public final enum StageEvents extends Enum<StageEvents>
Enum Constant Summary
Enum Constant and Description |
---|
DISPLAY Stage event meaning that the stage has just allocated resources to display content. |
PAUSE Stage event meaning that the stage has gone into a paused state. |
RESUME Stage event meaning that the stage has resumed from a paused state. |
Method Summary
Modifier and Type | Method and Description |
---|---|
public int | getValue() Gets the current value of this enumeration. |
public static StageEvents | valueOf(String name) |
public static StageEvents | values() |
Methods inherited from java.lang.Enum
clone
, compareTo
, equals
, finalize
, getDeclaringClass
, hashCode
, name
, ordinal
, toString
, valueOf
Methods inherited from java.lang.Object
clone
, equals
, finalize
, getClass
, hashCode
, notify
, notifyAll
, toString
, wait
, wait
, wait
Enum Constant Detail
DISPLAY |
---|
public static final DISPLAY Stage event meaning that the stage has just allocated resources to display content. This
event is triggered when the OpenGL view's onSurfaceCreated method is invoked. |
PAUSE |
---|
public static final PAUSE Stage event meaning that the stage has gone into a paused state. This event is triggered when
the Artenus activity goes in the background. |
RESUME |
---|
public static final RESUME Stage event meaning that the stage has resumed from a paused state. This event is triggered
when the Artenus activity resumes from a background state. |