You.i Engine
CYIBackButtonHandler::Listener Class Referenceabstract

Detailed Description

Implement this interface to provide custom behaviour when the system back button is pressed.

#include <input/YiBackButtonHandler.h>

Inheritance diagram for CYIBackButtonHandler::Listener:

Public Member Functions

virtual ~Listener ()
 
virtual bool OnBackButtonPressed ()=0
 

Constructor & Destructor Documentation

◆ ~Listener()

virtual CYIBackButtonHandler::Listener::~Listener ( )
virtual

Member Function Documentation

◆ OnBackButtonPressed()

virtual bool CYIBackButtonHandler::Listener::OnBackButtonPressed ( )
pure virtual

Will be called when back button pressed is notified by NotifyBackButtonPressed if this listener is registered. Return true if the back button has been handled. Return false to pass the notification on to the next registered listener, or back to the system.

Note
Registered listeners are called in a Last In, First Out order.

Implemented in CYIDevWidgetWithText.


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