You.i Engine
CYIAppLifeCycleBridge Class Reference

Detailed Description

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
 

Member Function Documentation

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.

Friends And Related Function Documentation

friend class CYIAppLifeCycleBridgeLocator
friend

Member Data Documentation

CYISignal CYIAppLifeCycleBridge::BackgroundEntered

Signals that the app has entered the background.

CYISignal CYIAppLifeCycleBridge::ForegroundEntered

Signals that the app has entered the foreground.


The documentation for this class was generated from the following file: