| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Components/ApplicationLifecycleComponent.h |
Include |
#include "Components/ApplicationLifecycleComponent.h" |
class UApplicationLifecycleComponent : public UActorComponent
Component to handle receiving notifications from the OS about application state (activated, suspended, termination, etc).
Name | Description | ||
---|---|---|---|
|
ApplicationHasEnteredForegroundDelegate |
Called when the application is returning to the foreground (reverse any processing done in the EnterBackground delegate) |
|
|
ApplicationHasReactivatedDelegate |
Called when the application has been reactivated (reverse any processing done in the Deactivate delegate) |
|
|
ApplicationReceivedStartupArgumentsDelegate |
Called with arguments passed to the application on statup, perhaps meta data passed on by another application which launched this one. |
|
|
ApplicationShouldUnloadResourcesDelegate |
Called when the OS is running low on resources and asks the application to free up any cached resources, drop graphics quality etc. |
|
|
ApplicationWillDeactivateDelegate |
This is called when the application is about to be deactivated (e.g., due to a phone call or SMS or the sleep button). |
|
|
ApplicationWillEnterBackgroundDelegate |
This is called when the application is being backgrounded (e.g., due to switching to another app or closing it via the home button) The game should release shared resources, save state, etc..., since it can be terminated from the background state without any further warning. |
|
|
ApplicationWillTerminateDelegate |
This may be called when the application is getting terminated by the OS. |
|
|
OnLowPowerModeDelegate |
Called when we are in low power mode. |
|
|
OnTemperatureChangeDelegate |
Called when temperature level has changed, and receives the severity. |
Name | Description | |
---|---|---|
|
UApplicationLifecycleComponent ( |
Name | Description | ||
---|---|---|---|
|
OnRegister() |
Called when a component is registered, after Scene is set, but before CreateRenderState_Concurrent or OnCreatePhysicsState are called. |
|
|
OnUnregister() |
Called when a component is unregistered. |