The type of transition and an optional requested ScreenId.
#include <ScreenTransition.h>
|
| constexpr | TransitionIntent (TransitionIntentType intentType=TransitionIntentType::None, uint8_t ScreenId=0) |
| | Must have a constructor to use defaults in C++11 because 'aggregate` _O_/. More...
|
| |
|
|
TransitionIntentType | type |
| | The requested transition type.
|
| |
|
ScreenId | requested |
| | Explicit requested ScreenId.
|
| |
◆ TransitionIntent()
| constexpr TransitionIntent::TransitionIntent |
( |
TransitionIntentType |
intentType = TransitionIntentType::None, |
|
|
uint8_t |
ScreenId = 0 |
|
) |
| |
|
inlineconstexpr |
Must have a constructor to use defaults in C++11 because 'aggregate` _O_/.
- Parameters
-
| TransitionIntentType | Transition intent types are:
None - No transition, stay on current screen
Auto - The IScreenRouter decides which screen to transition to.
Next - The IScreenRouter can accept a provided screen name or redirect
Back - The IScreenRouter determines what the previous screen should be
Init - Only the first IScreenRouter can resolve this.
Force - Force a screen change. Current screen's end() will be called but the result ignored. Use with caution.
|
| ScreenId | - An explicitly requested ScreenId (alias for a uint8_t) |
The documentation for this struct was generated from the following file: