SleepHelper
|
State data for AppCallbackWithState. More...
#include <SleepHelper.h>
Data Fields | |
int | callbackState = CALLBACK_STATE_START |
The current state of this callback. | |
void * | callbackData = 0 |
Callback can store data here. | |
State data for AppCallbackWithState.
The state data includes an integer state number. Callbacks can also store additional data in the callbackData field.
Since callbacks are typically never removed, you can put an allocated pointer in the callbackData field.