CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
ToastView.h File Reference
#include "cdc_ui/IView.h"
#include <cstdint>

Go to the source code of this file.

Classes

class  cdc::ui::ToastView

Namespaces

namespace  cdc
namespace  cdc::ui
 Centralized key-code constants for cdc_views.

Functions

void cdc::ui::showToast (const char *message, uint16_t durationMs)
 Shows a plain toast message.
void cdc::ui::showToastSuccess (const char *message, uint16_t durationMs)
 Shows a success toast message.
void cdc::ui::showToastError (const char *message, uint16_t durationMs)
 Shows an error toast message.
void cdc::ui::showToastInfo (const char *message, uint16_t durationMs)
 Shows an informational toast message.
void cdc::ui::showToastTask (const char *message, uint16_t durationMs)
 Shows a task/progress toast message.
void cdc::ui::showToastAlert (const char *message, uint16_t durationMs)
 Shows an alert toast message.
void cdc::ui::showToastAlertSticky (const char *message)
 Shows a non-dismissible alert toast.