Module |
|
Header |
/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeap/Public/AppEventHandler.h |
Include |
#include "AppEventHandler.h" |
class IAppEventHandler
Provides an interface between the AppFramework and any system that needs to be notified of application events (such as pause/resume).
Name | Description | ||
---|---|---|---|
|
bAllPrivilegesInSync |
||
|
bWasSystemEnabledOnPause |
||
|
CriticalSection |
||
|
OnAppPauseHandler |
||
|
OnAppResumeHandler |
||
|
OnAppShutDownHandler |
||
|
OnAppStartHandler |
||
|
OnAppTickHandler |
||
|
RequiredPrivileges |
Name | Description | |
---|---|---|
|
IAppEventHandler() |
|
|
IAppEventHandler ( |
Adds the IAppEventHandler instance to the application's list of IAppEventHandler instances. |
Name | Description | |
---|---|---|
|
~IAppEventHandler() |
Removes the IAppEventHandler instance from the application's list of IAppEventHandler instances. |
Name | Description | ||
---|---|---|---|
|
AddPrivilegeEventHandler ( |
Triggered when a privilege request changes state. |
|
|
EPrivilegeSt... |
GetPrivilegeStatus ( |
Returns the status of the specified privilege. |
|
OnAppPause() |
Can be overridden by inheriting class in order to pause its system. |
|
|
OnAppResume() |
Can be overridden by inheriting class in order to resume its system. |
|
|
OnAppShutDown() |
Can be overridden by inheriting class that needs to destroy certain api interfaces before the perception stack is closed down. |
|
|
OnAppStart() |
Perform any operations that must occur when an application begins |
|
|
OnAppTick() |
Use to check status of privilege requests. |
|
|
const TCHAR ... |
PrivilegeStateToString ( |
Converts the EPrivilegeState enum value to it's corresponding string representation. |
|
PrivilegeToString ( |
Converts the EMagicLeapPrivilege enum value to it's corresponding string representation. |
|
|
SetOnAppPauseHandler ( |
Use this as an alternative to overriding the OnAppPause function. |
|
|
SetOnAppResumeHandler ( |
Use this as an alternative to overriding the OnAppResume function. |
|
|
SetOnAppShutDownHandler ( |
Use this as an alternative to overriding the OnAppShutDown function. |
|
|
SetOnAppStartHandler ( |
Use this as an alternative to overriding the OnAppStart function. |
|
|
SetOnAppTickHandler ( |
Use this as an alternative to overriding the OnAppTick function. |
|
|
SetWasSystemEnabledOnPause ( |
||
|
WasSystemEnabledOnPause() |
Name |
Description |
---|---|
FEventHandler |