|
ESPHome 2026.4.0-dev
|
#include <preferences.h>
Public Member Functions | |
| ESPPreferenceObject | make_preference (size_t, uint32_t, bool) |
| ESPPreferenceObject | make_preference (size_t, uint32_t) |
| bool | sync () |
| Commit pending writes to flash. | |
| bool | reset () |
| Forget all unsaved changes and re-initialize the permanent preferences storage. | |
Public Member Functions inherited from esphome::PreferencesMixin< Preferences > | |
| ESPPreferenceObject | make_preference (uint32_t type, bool in_flash) |
| ESPPreferenceObject | make_preference (uint32_t type) |
Definition at line 22 of file preferences.h.
|
inline |
Definition at line 25 of file preferences.h.
|
inline |
Definition at line 24 of file preferences.h.
|
inline |
Forget all unsaved changes and re-initialize the permanent preferences storage.
Usually followed by a restart which moves the system to "factory" conditions
Definition at line 40 of file preferences.h.
|
inline |
Commit pending writes to flash.
Definition at line 32 of file preferences.h.