Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::ToastOptions Struct Reference

Owning notification request settings; copying may allocate. More...

#include <toast.hpp>

Public Member Functions

 ~ToastOptions ()=default
 Keep checked string copies fallible on the MSVC debug standard library.

Public Attributes

ToastSeverity severity {ToastSeverity::INFO}
 Readable semantic severity.
std::optional< SchedulerTime > duration {5000}
 Positive milliseconds after first presentation; null is persistent.
std::string dedupKey = std::string(0, '\0')
 Exact case-sensitive bytes; empty disables deduplication.
bool dismissOnAction {true}
 Remove before entering the admitted action.
ToastIndicatorOptions indicator {}
 Optional presentation only; no diagnostic interception.

Detailed Description

Owning notification request settings; copying may allocate.


The documentation for this struct was generated from the following file: