AppBase::OnOrientation

AppBase::OnOrientation
virtual bool OnOrientation(unsigned orientation, bool force = false);
Description

OnOrientation notifies the application when the screen orientation changes.

Parameters
Parameters 
Description 
unsigned orientation 
New orientation (viewport flags). 
bool force = false 
New orientation should be used even if orientation changes are disabled by the user.