Snapshot of the full environment state. More...
#include <environment.hpp>
Snapshot of the full environment state.
Listener callbacks receive a (state, change) pair so they can branch on change.color_scheme without diffing the previous snapshot themselves.
| ColorScheme pulp::platform::EnvironmentState::color_scheme = ColorScheme::unknown |
| DisplayInfo pulp::platform::EnvironmentState::display |
| KeyboardInset pulp::platform::EnvironmentState::keyboard |
| LifecycleState pulp::platform::EnvironmentState::lifecycle = LifecycleState::unknown |
| MemoryPressure pulp::platform::EnvironmentState::memory_pressure = MemoryPressure::normal |
| Orientation pulp::platform::EnvironmentState::orientation = Orientation::unknown |
| SafeAreaInsets pulp::platform::EnvironmentState::safe_area |