Abstract class that resolves screen transitions (ie moving Next, Back or to a new screen). Called by ScreenManager if requestScreen is set.
#include <ScreenRouter.h>
|
| virtual uint8_t | resolveScreen (uint8_t current, const TransitionIntent &intent)=0 |
| | Resolve a screen transition intent's validity. Can return 0 or the the requested id (no objection), or a redirect id or the current id. More...
|
| |
◆ resolveScreen()
| virtual uint8_t ScreenRouter::resolveScreen |
( |
uint8_t |
current, |
|
|
const TransitionIntent & |
intent |
|
) |
| |
|
pure virtual |
Resolve a screen transition intent's validity. Can return 0 or the the requested id (no objection), or a redirect id or the current id.
- Parameters
-
- Returns
- std::string
The documentation for this class was generated from the following file: