Provides a means for apps to signal components that the app has entered the foreground or background.
#include <platform/YiAppLifeCycleBridge.h>
Public Member Functions | |
| void | OnForegroundEntered () |
| void | OnBackgroundEntered () |
Public Attributes | |
| CYISignal | ForegroundEntered |
| CYISignal | BackgroundEntered |
Friends | |
| class | CYIAppLifeCycleBridgeLocator |
| void CYIAppLifeCycleBridge::OnBackgroundEntered | ( | ) |
Called when the application enters the background. Causes the CYIAppLifeCycleBridge::BackgroundEntered CYISignal to be emitted.
| void CYIAppLifeCycleBridge::OnForegroundEntered | ( | ) |
Called when the application enters the foreground. Causes the CYIAppLifeCycleBridge::ForegroundEntered CYISignal to be emitted.
|
friend |
| CYISignal CYIAppLifeCycleBridge::BackgroundEntered |
Signals that the app has entered the background.
| CYISignal CYIAppLifeCycleBridge::ForegroundEntered |
Signals that the app has entered the foreground.